jamieohanlon/portfolio/master/.htaccess - Htaccess File

jamieohanlon/portfolio/master/.htaccess

Options +FollowSymlinks
RewriteEngine on
RewriteCond $1 !^(index.php|images|robots.txt|js|css)

RewriteCond %{REQUEST_URI} (index.php|webroot/|images/|css/|js/|robots.txt|favicon.ico)
RewriteRule ^(images|css|files|js)/(.*)$ webroot/$1/$2 [L]
RewriteRule ^(favicon.ico)$ webroot/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /portfolio/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /portfolio/index.php [L]
</IfModule>

# END WordPress

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache