Re: URL rewrite
Reply #6 –
Here's the coding solution for anyone who needs a similar rewrite. This is the htaccess in current use:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .* - [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteRule ^content/?$ index.php [L,QSA]
The first line should be obvious. The next few lines address file and directory access. After that we have a couple lines redirecting http to https. Last is not least here! The meat of the question centers around it. Essentially it gives index.php an alias within the address bar. Rename accordingly!