• I’m having trouble with changing Permalinks. If I select anything other than the default I get the usual 404 error. I’ve read just about everything I can find and checked all the suggestions but for the life of me I cannot get this to work.

    My working environment:(localhost)
    IMac running Mountain Lion 10.8.5
    Apache 2.2.6
    PHP 5.3.28
    Wordpress 3.9.1 with Photocrati Theme 4.7.3

    Mod_Rewrite is enabled in my httpd.conf file
    .htaccess file is being updated
    Restarted Apache I don’t know how many times
    I’ve flushed all browser cache etc

    Obviously I’m doing something wrong here. Now I’m reasonable savvy but by no means an expert especially when it comes to unix or at least Apples version.

    Any help would certainly be appreciated. I’ve built a complete website and now I want to deploy it using the Duplicator plug-in but I’m unsure if it is going to work as expected. Reason obviously to change to a more acceptable Permalink structure is for SEO. Trying to make itMonth and Name

Viewing 5 replies - 1 through 5 (of 5 total)
  • You need to enable mod_rewrite in your httpd.conf file.

    Thread Starter GeoffLev

    (@geofflev)

    Thanks esmi but that has already been covered. As I mentioned above Mod_Rewrite is enabled (the entry is in the httpd.conf file and yes, I have double checked that the syntax is correct

    Did you change the default AllowOverride Directive?

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be “All”, “None”, or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    Thread Starter GeoffLev

    (@geofflev)

    Thanks all. It appears that I had multiple files and Apache was getting confused (or maybe I was). I went and checked again for the Allow Override in my httpd.conf file (knowing that I had changed it) only to find that the one that Apache was using wasn’t the one I modified. Edited the file, restarted Apache and now it all works.

    Localhost in really a bitch!!!

    Now off to deploy a new website – wish me luck

    Thanks again

    Localhost in really a bitch!!!

    … and that’s why I use MAMP 🙂

    No muss, no fuss, deploy to live in less than 5 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dreaded Permalinks on Localhost’ is closed to new replies.