• Hey guys,

    So I am running a wordpress blog and am wanting to change the permalink structure. I have my .htaccess file accessible to WordPress for writing and it is indeed populating it with the code.

    The problem is that ANY structure i choose besides the default one results in a 404 error of page not found.

    Here is the code in my .htaccess

    # 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

    Also, i am running this installation on a Mac Mini with OS X Lion Server. I mention that because there appears to be issues with Lion server that lots of people are reporting. The blog though itself works fine with the default permalinks structure, which makes me think it is something in my mod_rewrite.

    Help!

    Site: https://www.tejavapowered.com

    Thanks so much!
    William

Viewing 1 replies (of 1 total)
  • I had exactly the same problem with a fresh install of OS X Lion. You must go into all of your apache conf files and set AllowOverride from None to All in each of the locations that will affect your site. So, in the default directory section, of the main conf, then for your user, and then again for your site.

    Take a look at this site for the instructions I had to follow to get mod rewrite working again:

    https://rexselin.wordpress.com/2006/07/28/making-mod-rewrite-and-htaccess-work-on-mac-os-x/

    The only difference between his instructions (for Tiger, I believe) and what I had to do was change the httpd in the path to your user apache conf file to apache2, so /private/etc/httpd/users becomes /private/etc/apache2/users.

    Finally, you must go into /private/etc/apache2/sites/ and edit the individual conf files that are created there for each of your sites and change AllowOverride to All.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks issue (mod_rewrite maybe?)’ is closed to new replies.