Wordpress .htaccess

Discussion in 'Site & Server Administration' started by djsnowman, Oct 22, 2008.

  1. #1
    I have a website running wordpress using its mod rewrite function.
    I also have a forum under the same doamin www.domain/forum
    It used to be fine going to the forum, but today suddenly it is showing a not found under wordpress.

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

    # END WordPress
    ------------------

    Is there something i need to do to .htaccess to make it work?

    Thanks for any help
     
    djsnowman, Oct 22, 2008 IP
  2. Christian Little

    Christian Little Peon

    Messages:
    1,753
    Likes Received:
    80
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try logging into your Wordpress admin, click on Settings, then Permalinks. Chance your permalink structure to something new (yeah that sucks, but you can change it back in a minute). Click on save settings, WordPress will write new rules into .htaccess. If that works, then log back into wordpress and change the permalinks back and apply again. That should work, if it breaks at this point then the permalink structure you have is conflicting with the forum file stricture, which means you'll have to permanently change one or the other.
     
    Christian Little, Oct 23, 2008 IP