Post by ceferelizade » Tue Sep 11, 2018 3:32 am

hi i am have toptangiy.com i when write toptangiy.com redirecting to https://www.toptangiy.com
only i when write www.toptangiy.com not redirecting to https://www.toptangiy.com i am need www.toptangiy.com and toptangiy.com both of them redirecting to https://www.toptangiy.com

this is my htaccess
I need your help :) ???

Code: Select all

RewriteEngine On
RewriteCond !{HTTPS} off
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Newbie

Posts

Joined
Tue Sep 11, 2018 3:13 am

Post by straightlight » Wed Sep 12, 2018 8:51 pm

Ensure to change all instances of http into https in your config.php and admin/config.php files.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: nonnedelectari and 410 guests