WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Permalinks Not Working? (8 posts)

  1. xmatter
    Member
    Posted 1 year ago #

    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.

  2. 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/

  3. xmatter
    Member
    Posted 1 year ago #

    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.

  4. xmatter
    Member
    Posted 1 year ago #

    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.

  5. 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. :)

  6. sebastianbeckers
    Member
    Posted 1 year ago #

    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!

  7. xmatter
    Member
    Posted 1 year ago #

    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!

  8. sebastianbeckers
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.