I search across StackOverflow for similar questions, but I need something different!
I want to redirect all my website's traffic for HTTPS and without the www. WHY? my free SSL certificate doesn't work with the 'www.' part.
If I type:
www.andremlsantos.com/somepage http://www.andremlsantos.com/somepage http://andremlsantos.com/somepage https://andremlsantos.com/somepage I want to redirect to:
https://andremlsantos.com/somepage My .htaccess
RewriteEngine on RewriteCond $1 !^(index\.php|css|js|images|subdomain|robots\.txt) RewriteRule ^(.*)$ index.php/$1 [L] Options -Indexes <Files 403.shtml> order allow,deny allow from all </Files>