WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Permalinks Not Working?

[Resolved] Permalinks Not Working?

  • I have just installed a fresh copy of 3.6 on my localhost. If I change the Permalinks to something other than Default, each link clicked display a 404 error. This was not like this yesterday when I was using 3.5 locally.

    So I am wondering if it related to 3.6? I did not see it mentioned in the 3.6 Master List.

    FYI, no plugins installed and using 2013 theme.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Siobhan Bamber (siobhyb)

    @siobhyb

    Automattic Happiness Engineer

    Hey. This error’s often caused when a new .htaccess file is installed. Try resetting your permalinks through your dashboard area.

    If this doesn’t solve your issue, try adding the following to your .htaccess file:

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

    For more in-depth background and information on this error, please see: http://tech.shawnlelle.com/resetting-wordpress-permalinks/

    thanks for the reply. no luck. in the db itself it has postname there, I changed the access file, and cleared the cache, then restarted laptop, just to be sure. This has to be an issue with 3.6 on local installs? Again, I am using WAMP, but never had this issue before.

    This had to do write the Apache rewrite_module. It’s weird because I have used WP several times with WAMP and never had this issue on a local install.

    Siobhan Bamber (siobhyb)

    @siobhyb

    Automattic Happiness Engineer

    Hi xmatter. Sorry for the delay in getting back to you, and thank you for updating the thread with your solution. Glad you managed to solve this. 🙂

    Hi guys!

    This had to do write the Apache rewrite_module.

    How exactly did you fix it? Only default permalinks work. And the htaccess is correct…

    Ah I found out something else:
    Permalinks= default: posts work, pages not
    Permalins= day and name: pages work, posts not ?!

    I don’t get where this comes from…

    Thanks for your help in advance!

    Not at my computer at the moment, but if I remember correctly, left click wamp server in task bar, go to Apache and then modules. Scroll about 3/4 way down and check that module. Let me know!

    Oh my god….
    I am too tired to sit at the Computer anymore.

    I had the entries for the rewritemod twice in the file, somehow installing a forum crashed the file…
    I just renamed the file, (the forum is out anyway) and let WP recreate the htaccess when changing permalink structure. That made a fresh one and now it is working 🙂
    But thanks for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Permalinks Not Working?’ is closed to new replies.
Skip to toolbar