Reputation: 22820
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:
http://mywebsite.com/blog
)What does NOT work:
http://mywebsite.com/blog/page/2
- when clicking the "Older Posts" link)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
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