Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi all,
    I was facing exactly the same problem – switched to fancy URL’s and it started showing up 404 errors for category names.

    Solution
    – Enable mod_rewrite in your apache2 installation
    #a2enmod rewrite; /etc/init.d/apache2 restart
    – Change “AllowOverride None” to “AllowOverride All” in your virtual host config.
    – Create an .htaccess file in your WP’s root dir. I have WP installed in ${document_root}/content and my .htaccess looks like

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /content/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /content/index.php [L]
    </IfModule>
    # END WordPress

    And voila! It works!

    Thanks all for the discussion which finally helped :))


    Maku
    http://makuchaku.in

Viewing 1 replies (of 1 total)