Web Hosting Reviews for Affiliate Marketers

Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95

The Dreamhost web hosting thread below was started by gcaprio on 2010-05-02 13:23:31:

Post Reply? Hi, I’m trying to secure my wordpress installation using an .htaccess file. However, I have custom permalink settings, which adds this to my root .htaccess file: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress As soon as I add anything surrounding the wp-login.php file: <Files wp-login.php> AuthType Digest AuthName “” AuthUserFile .htpasswd Require valid-user </Files> I get 404 errors. If I remove the first section, the password protection works, but none of my permalinks work. If I remove the second section, permalinks work, but not security. I can’t really see what I’m doing wrong here. Anyone have any idea? Thanks, Griffin

Join in on the original post at the Dreamhost Forum, Get a Dreamhost Plan or view our Dream Host Review.

Related Web Host Reviews


Close
E-mail It