Hairy .htaccess Dreamhost WordPress Problem Solved!

[fr]

Résolution d'un problème qui m'a littéralement empoisonné mes vacances. Ouf.

[en]

Thanks to grimboy, my “parent” .htaccess now has two extra lines and looks like this (and the problem that has kept me awake for the last week is solved):

AddDefaultCharset OFF
# BEGIN WordPress
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/membres.*$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</ifModule>
# END WordPress

Thanks so much!

Similar Posts:

This entry was posted in Wordpress and tagged directory, dreamhost, htaccess, mod_rewrite, password, protect, protection, Real Live Code, rewrite, server, serveur, Weblog Technology, Wordpress. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>