iain_darkflare
Member
Hi everyone, quick question,
Is it possible to redirect https://domain.co.uk to https://www.domain.co.uk?
If so how do I do it?
I have no problem redirecting the non secure domains to www. but not sure how to go ahead with the HTTPS. I have googled the problem, but I couldn't find a solution that works.
The current code for the non secure redirect in the .htaccess is
...and that all works fine.
Would appreciate any help, I'm sure I am missing something pretty obvious, but I have never had to deal with SSL addresses before.
Is it possible to redirect https://domain.co.uk to https://www.domain.co.uk?
If so how do I do it?
I have no problem redirecting the non secure domains to www. but not sure how to go ahead with the HTTPS. I have googled the problem, but I couldn't find a solution that works.
The current code for the non secure redirect in the .htaccess is
Code:
# SEO URL SettingsRewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]RewriteCond %{HTTP_HOST} !^www\.domain\.co.uk$RewriteRule (.*) http://www.domain.co.uk/$1 [R=301,L]
...and that all works fine.
Would appreciate any help, I'm sure I am missing something pretty obvious, but I have never had to deal with SSL addresses before.