Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have changed wordpress to use permalinks for post names. /%postname%/ so that they are in the form The permalinks work great but it messes up the "next" and "previous" buttons. The default permalink structure works great, but whenever I change the permalinks to any other form, the next button link gets changed to which doesn't exist... how do I get the buttons to link to the correct place?

It appears this is a bug on wordpresses side, but I can't find any answers to this problem directly.

share|improve this question
Is mod_rewrite really enabled? – toscho May 25 '14 at 1:18
@toscho Where do I look to find out? – Humdinger May 25 '14 at 1:19
Remove the <IfModule mod_rewrite.c> and </IfModule> lines from your .htaccess. If your site breaks, mod_rewrite is off. :) – toscho May 25 '14 at 1:24
@toscho it appears to be on. Nothing broke when I removed the tags. – Humdinger May 25 '14 at 1:26

1 Answer 1

I fixed the problem by editing my .htaccess file. I replaced it with the following.

# BEGIN WordPress

<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
share|improve this answer
Thanks for keeping this site and your question constructive by posting your own solution. +1 – Pieter Goosen May 25 '14 at 6:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.