Ksenia
Ksenia

Reputation: 173

Wordpress Pagination: WP-PageNavi and Permalinks doesn't work

I have a clean installation of latest Wordpress version on my local webserver. Twenty Twelve Theme by default and WP-Pagenavi plugin installed for Numeric pagination.

I set permalinks for my categories and postslike this:

http://wordpress352ru/%category%/%postname%/

Now I can access category "shows" archive with link http://wordpress352ru/shows/

Pagination links on that page now look like:

http://wordpress352ru/shows/page/2/ and it doesn't work.

If I open index page and then click on category shows link then pagination links on shows category page look like this:

http://wordpress352ru/category/shows/page/2/ and it works.

But I'd like to pagination links would look like this instead and worked:

http://wordpress352ru/shows/page/2/

Without word "category" in the link. How can I set this to work? Thanks in advance!

Upvotes: 0

Views: 2249

Answers (1)

Jack Lenox
Jack Lenox

Reputation: 357

There are plugins out there for this, but here is one very easy way of doing it: http://www.wprecipes.com/how-to-remove-category-from-your-wordpress-url

EDIT

Once you've done the above, your pagination should work just fine.

Upvotes: 1

Related Questions