BalajiRamachandran/autos2day/master/.htaccess - Htaccess File

BalajiRamachandran/autos2day/master/.htaccess

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{SERVER_PORT} 80
#RewriteRule (.+) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteRule ^$ https://%{HTTP_HOST}%{REQUEST_URI} [R,l]
#RewriteRule (.+) https://%{HTTP_HOST}%{REQUEST_URI} [R,l]
#RewriteRule (.+) https://%{HTTP_HOST}/autos2day/wp-admin [R,l]

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

# END WordPress

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI, SERVER_PORT

Comments

Apache