Dr.Kameleon
Dr.Kameleon

Reputation: 22820

Issue with 404 Page Not Found in Category pages

I have a website/blog setup with Wordpress.

Under Settings > Permalinks, I'm using a "Custom structure":

http://mywebsite.com/%category%/%postname%

And my .htaccess :

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

What does work:

What does NOT work:


What's going on? Is there any other way (aside from the... pretty permalink above, to access the subpages under some category - e.g. by category ids, etc?)

Upvotes: 1

Views: 396

Answers (1)

aeryaguzov
aeryaguzov

Reputation: 1163

Wordpress searches for a post with slug page in category blog, but can not find it and return 404.

There is only one workaround - manually create rewrite rules, so it can work as you expect.

For more info see Using Permalinks and find "Paged Navigation Doesn't Work" on it.

Upvotes: 1

Related Questions