brandonhundt/brandonhundt.com/master/rachel/.htaccess - Htaccess File

brandonhundt/brandonhundt.com/master/rachel/.htaccess

# 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

RewriteCond %{HTTP_HOST} ^rachelbrandon.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.rachelbrandon.com$
RewriteRule ^img/?(.*)$ "http://rachelbrandon.com/photos/$1" [R=301,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache