Great plugin! Implemented within minutes and simple for end users to manage.
Client is particularly happy with the reporting features of the plugin.
BFowler for Ad King Pro

Latest Tweets

Ad King Pro has FINALLY has an update! A cleanup really with a few tweaks to a couple of features. More to come! https://t.co/Fekax5oh1Z
Your using Ad King Pro right? Your site is responsive, surely. Implement adverts so their mobile friendly! http://t.co/9ouYGcYRMJ
Invoice King Pro and Ad King Pro both receive some amazing new features that you will want to know about! http://t.co/FBgDllGJan
Follow KingProPlugins on Twitter

Using the same category base name as the page name permalinks

For SEO purposes I have always wanted to keep the category permalink underneath the main blog page url (ie http://yourdomain/blog/ and http://yourdomain/blog/category/category-name/) which is fine until you need paging to work on the main blog page (http://yourdomain/blog/page/2/) which you will find will 404 because the WordPress system thinks that ‘page’ is a category your trying to find and it doesn’t exist.

Not all is lost, you just need to educate the system a little 😉

Add the following to the functions.php file:

function kpp_main_blog_pagination(){
 add_rewrite_rule(
 'blog/page/([0-9]+)/?$',
 'index.php?pagename=blog&paged=$matches[1]',
 'top'
 );
}
add_action( 'init', 'kpp_main_blog_pagination' );

Be sure to replace the blog slug to match your main blog page url. Happy permalinking 😉

Leave a Reply

Your email address will not be published. Required fields are marked *