Jump to content

Long waiting time redirecting to https and /nl/


Recommended Posts

Hi all,

when I test www.ha-ma.nl in GTmetrix, I see that there is alot of waiting time redirecting http://www.ha-ma.nl to https://www.ha-ma.nl and then to https://www.ha-ma.nl/nl/ 

Any idea how to speed this up?

image.thumb.png.0c9da696b346d3e55bffc296e2f1f9af.png

In my .htaccess I have this:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

#Domain: www.ha-ma.nl
RewriteCond %{HTTP_HOST} ^www.ha-ma.nl$
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

#Domain: www.edenberg.store
RewriteCond %{HTTP_HOST} ^www.edenberg.store$
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
 

We use multistore with 2 fronts as seen above.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...