Skip to content

Instantly share code, notes, and snippets.

@luisvm
Created July 6, 2012 19:13
Show Gist options
  • Save luisvm/3062205 to your computer and use it in GitHub Desktop.
Save luisvm/3062205 to your computer and use it in GitHub Desktop.
Htaccess file
AuthType Basic
AuthName "Private"
AuthUserFile /var/www/.htpasswd
AuthGroupFile /dev/null
Require valid-user
# BEGIN Primary Feedburner
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator) [NC]
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/XXXXXXXX/GRMx [R=301,NC,L]
# END Primary Feedburner
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment