• I’ve noticed a strange behavior with the default .htaccess file. Not sure if it’s a bug or not.

    WP is installed under /sem/ directory with %postname% permalinks.

    Here’s how it looks like

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

    Now if I go to site.com/sem/postname/ all is ok.

    But if I add any directory and any file name to the any URL, WP displays the content of the home page /sem/ and returns a 404 header response.

    site.com/sem/postname/anydirectory/anyword

    Any idea are welcome.

    Thanks,
    TraiaN

The topic ‘default htaccess bug?’ is closed to new replies.