Viewing 2 replies - 31 through 32 (of 32 total)
  • Not sure if anyone has mentioned this yet but….

    In most cases the problem occurs because wordpress is in a sub directory and the htaccess is set incorrectly to reflect this. If your wordpress files are in a subdirectory.. ex. https://yoururl.com/wordpress then you need to change this line in your htaccess file within the sub directory folder:

    RewriteRule . /index.php [L]

    to

    RewriteRule . /wordpress/index.php [L]

    where wordpress is the name of your subdirectory folder.

    I hope this helps.

    Thanks Matthias for the suggestion above! That was the key I was looking for to finally solve this annoying and mysterious issue with Apache and AllowOverride.

    Actually, I changed the code you suggested to read AllowOverride All, instead of None, and that did the trick.

    So to summarize my experience (with WP 2.9.2 and Ubuntu server 2.6.31):

    edit /etc/apache2/sites-available/default

    find the <Directory> section for your wordpress website and edit as follows:

    <Directory /var/www/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>

    Then restart apache: sudo /etc/init.d/apache2 restart

    Voilà! Thanks again and hope this helps.

Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘Permalink 404 Problem: 2.8 Style’ is closed to new replies.