The MU forums have moved to WordPress.org

recent .htaccess bug (2 posts)

  1. TomK32
    Member
    Posted 18 years ago #

    In htaccess.dist which has a vew variable in which are replaced when creating the .htaccess there's also HTTP_HOST used which will look quite strange in every recent installation.

    So, edit your .htaccess and replace
    RewriteCond %{HTTP_http://www.example.org} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

    with
    RewriteCond %{HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

  2. fredl
    Member
    Posted 18 years ago #

    Thanks, i've done the modification, but now i've a new problem rewrite rules are working for wp-login.php the first time, and after login (with correct u/p !) i'm back on the login page...
    Bordel ! (f*ck) is there some one to help me !
    Thanks

About this Topic