WordPress 2.7 Permalinks Not Working (Solved)

I recently moved to a new Debian Server with Apache 2.x and installed WordPress 2.7.  When I went to change my permalinks, it was not able to configure the permalink feature. I create the appropriate .htaccess file in the root of the WordPress directory but yet it still failed. What I failed to check the .htaccess was enabled. Verify that you have .htaccess enabled in apache (Mod Rewrite) and ensure that your server allows you to override the master Apache configuration directives.

To solve this issue, I simply editied at my Virtual Host configuration file and changed it from

<VirtualHost *>
        DocumentRoot /var/www/SiteName/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/SiteName/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

To

<VirtualHost *>
        DocumentRoot /var/www/SiteName/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/SiteName/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride FileInfo
                Order allow,deny
                allow from all
        </Directory>

Simply change None to FileInfo or All. I chose FileInfo as it is a bit more restrictive. I hope this helps you.

  1. Man thanks a lot, been breaking my head trying to figure out why they didn’t work. Your solution solved the problem. Just changed the FileInfo from None.

    cheers

  2. This tip is great, last time I installed a server I spent hours figuring this out, I bookmarked your tip at that time. This time I had the error, remembered your tip and had it fixed in under 2 minutes.
    Many thanks,
    Keith

  3. Doug says:

    Thanks Keith for the complement and feed back. Of to upgrade to WordPress 3 so wish me luck!

  1. There are no trackbacks for this post yet.

Leave a Reply