• Resolved nalybuites

    (@nalybuites)


    I have a new WordPress 2.8 blog running on my local server (sitting in the same room as me). Using ugly permalinks, all pages are accessible. However, when I change the permalink structure to anything else, I receive Apache2 404 errors.

    My .htaccess file looks as follows:

    Options +FollowSymLinks
    <Directory /var/www/blog>
            AllowOverride Options
    </Directory>
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteBase /blog/
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule . /blog/index.php [L]
    </IfModule>
    # END WordPress

    Both WebSVN and phpMyAdmin are accessible from http://domain.com/websvn and http://domain.com/phpmyadmin, respectively.

    I have tried all suggested fixed on the forums, including:

    • Adding custom category and tag permalink structures
    • Adding FollowSymLinks and AllowOverride All
    • Etc.

    Does anybody have any other suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nalybuites

    (@nalybuites)

    I have also attempted to remove any Aliases (e.g., phpmyadmin and websvn mentioned above) in order to remove any conflicts. I even removed phpMyAdmin completely, but to no avail.

    Thread Starter nalybuites

    (@nalybuites)

    I figured it out. After performing a full reinstall of Ubuntu Server Edition (I have been meaning to anyways), permalinks still didn’t work. For whatever reason, Apache2 wasn’t picking/processing the .htaccess file. I added the following lines to the apache2.conf file in /etc/apache2:

    # Include the .htaccess file for WordPress
    Include /var/www/wordpress/.htaccess

    Once I restarted Apache, it processed the rewite rules and everything works fine!

    Thread Starter nalybuites

    (@nalybuites)

    P.S. That last post only makes sense if I tell you that I changed the directory from /var/www/blog to /var/www/wordpress

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Permalink problem not solved by usual methods’ is closed to new replies.