When viewing an archive for any blog category, the pagination links result in a 404 Error.
For example, in the archive at http://aprilfiet.com/theology-culture/ the page 2 link at the bottom shows as http://aprilfiet.com/theology-culture//page/2 in the source code. WordPress seems to rewrite the extra slash, although I'm assuming the // should be fixed anyway. So WP ends up loading http://aprilfiet.com/theology-culture/page/2 which gives a 404 message. This is the case with all of our categories, and the double slash in the URL does appear in all pagination links, including on the main blog homepage. On the blog homepage, however, the pagination functions and does not return a 404. This seems to only impact archive pages.
Thanks so much for your help!
1. The double slash might be a by product of your permalink structure - what do you have it set to?
2. You should have your menu links go straight to the actual category archive like: http://aprilfiet.com/category/theology-culture/ where the pagination works normally :)
Turns out that our menu already links to aprilfiet.com/category/theology-culture/ so we got that right. Must have just been going to the above-mentioned incorrect URL by accident somehow. So that solves our pagination 404 issue, though the double slash is still there in all pagination URLS (including both index and archive pages, even when using the correct archive links).
Permalinks are set to:
/%category%/%postname%/
Does this structure seem problematic? Or might the double slash be coming from something else?
Worked like a charm, as always! Keep up the good work! Also, would love again to recommend a "Related Posts" widget or area below the post :) I'm trying to skin one for a plugin, but figured I'd mention it!
Hey Christopher,
1. The double slash might be a by product of your permalink structure - what do you have it set to?
2. You should have your menu links go straight to the actual category archive like: http://aprilfiet.com/category/theology-culture/ where the pagination works normally :)
Cheers!
Turns out that our menu already links to aprilfiet.com/category/theology-culture/ so we got that right. Must have just been going to the above-mentioned incorrect URL by accident somehow. So that solves our pagination 404 issue, though the double slash is still there in all pagination URLS (including both index and archive pages, even when using the correct archive links).
Permalinks are set to:
Does this structure seem problematic? Or might the double slash be coming from something else?
Cheers!
Hey agan Christopher!
Change it to:
and it should work :)
Worked like a charm, as always! Keep up the good work! Also, would love again to recommend a "Related Posts" widget or area below the post :) I'm trying to skin one for a plugin, but figured I'd mention it!
Cheers and many thanks!