paginate_links() don’t properly work in search.php?

I’m fairly certain this is answered elsewhere, but I’ll add it here again. I believe your issue lies here: ‘current’ => max( 1, get_query_var(‘paged’) ), Try this instead: global $wp_query; $wp_query->query_vars[‘paged’] > 1 ? $current = $wp_query->query_vars[‘paged’] : $current = 1; …then: ‘current’ => $current; Your ‘base’ may also be an issue. Instead of this: … Read more

WordPress permalink prefix

Actually, /blog/%postname% is the correct setting for permalinks in this case. The /blog/ portion of the permalink will only be added to custom post types if they have been registered using the rewrite => with_front parameter set to true.

permalink results to “page not found”

I think there is enough information to make an answer. Really, only barely a WordPress questions but here you go. First, be aware that the query-string format– ?p=, ?s=, etc– should always work. This is for an Apache(2) server. mod_rewrite must be enabled AllowOverride All or at least AllowOverride File must be set The .htaccess … Read more