Forums

.htaccess rewriterule (1 post)

  1. foo_bar
    Member
    Posted 1 year ago #

    My current .htaccess file:

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

    Wich fixes the permalinks, but i would like to add another rewrite rule, that changes "http://site.com/wp-content/themes/mystique/intro/intro.html" to "http://site.com".

    So i tried adding RewriteRule ^wp-content/themes/mystique/intro/intro\.html$ - [L], but it doesnt work, did i miss something?

Topic Closed

This topic has been closed to new replies.

About this Topic