https site works fine but customers are not getting redirected when they click on old http links on old newspaper articles, google etc.
http://pubstops.co.uk/index.php?route=p ... uct_id=132
https://pubstops.co.uk/index.php?route= ... uct_id=132
Any thoughts where iv'e gone wrong?
Thanks
Tom
Opencart 3.0.2.0
For quick, professional OpenCart support
Online
contact me on skype : dparakhiya_1
email : dipneshp@gmail.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^pubstops\.co\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.pubstops\.co\.uk$
RewriteRule ^/?$ "https\:\/\/pubstops\.co\.uk\/" [R=301,L]
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.evolvewebhost.com
Also tried in .htaccess
# redirect any request not having www to ssl with www
RewriteCond %{HTTP_HOST} ^pubstops\.co\.uk [NC]
RewriteRule ^(.*)$ https://www.pubstops\.co\.uk/$1 [L,R=301]
That doesn't work.
Code: Select all
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !.*\.(ico|cur|mp3|mpeg|webp|svg|ttf|eot|woff|woff2|gif|jpg|jpeg|png|swf)
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [R=301,L]
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Could you PM me the contents of your .htaccess file? I can then review and edit it and send it back to you. You can then make a backup of your current .htaccess file and try the changes I send to you.TomSut wrote: ↑Fri Jun 21, 2019 11:49 pmThought i was on for a winner with cPanel but our host isn't using the new version.
Also tried in .htaccess
# redirect any request not having www to ssl with www
RewriteCond %{HTTP_HOST} ^pubstops\.co\.uk [NC]
RewriteRule ^(.*)$ https://www.pubstops\.co\.uk/$1 [L,R=301]
That doesn't work.
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.evolvewebhost.com
Users browsing this forum: No registered users and 597 guests