News:

Looking for documentation? Take a look on our wiki

Main Menu

Avoid landing page redirects

Started by fabioweb, May 16, 2017, 23:35:55 PM

Previous topic - Next topic

fabioweb

hello i'm trying to performing a virtuemart site where i have this problem:
Avoid landing page redirects for the following chain of redirected URLs.

How can i fix it?

regards


GJC Web Design

force https  & www in your .htaccess

RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\.xxxxx\.com$ [NC]
RewriteRule ^(.*)$ https://www.xxxxx.com/$1 [L,R=301]
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

fabioweb

Thank you very much,
i wrote this

RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\.mgcasa\.it$ [NC]
RewriteRule ^(.*)$ https://www.mgcasa.it/$1 [L,R=301]

but i still have 4s :(