Landing Page Redirects

Movie Prop Sites

Active member
In our speed testing, we keep getting dinged for landing page redirects.

Shortly prior to migrating to Xenforo, we went to HTTPS.
When we migrated to Xenforo we moved from the root of the domain to /forums/

We now have the following in our htacess and it certainly seems to take a toll if you test with the base url:

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

RewriteCond %{SERVER_PORT} 80
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

RewriteRule ^(.+) "\/forums\/$1" [R=301,NC,L]
RewriteRule ^ "\/forums\/" [R=301,NC,L]

redirects.webp

If I am reading this correctly, we are spend 2/3 of a sec on redirects alone.

Is there a more efficient way this could be accomplished these redirects so we cut that time and stop all the testing sites from complaining?
 
Top Bottom