You need to make sure a of a few things:
1) Make sure your SSL certificate supports both non www and www (mainly the www since you want to change to that)
2) Update both config.php files to use www
3) Add a 301 redirect in your .htaccess file in the Rewrite section, usually right after RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
You can use this site to see if your SSL certificate supports www and non www for your domain:
https://www.sslshopper.com/ssl-checker.html
1) Make sure your SSL certificate supports both non www and www (mainly the www since you want to change to that)
2) Update both config.php files to use www
3) Add a 301 redirect in your .htaccess file in the Rewrite section, usually right after RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
You can use this site to see if your SSL certificate supports www and non www for your domain:
https://www.sslshopper.com/ssl-checker.html
Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com
Active Member
hopefully, you did not try to edit a .htaccess file with MS Word, but use Notepad++, to do such work.
Ernie
openshop.li

Ernie
openshop.li
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 15 guests