.htaccess redirection slow

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

teclance

Established Member
Impact
1
Hi guys,

I am trying to set up a couple redirections using .htaccess and I have the following set up:

Redirect /signup.php https://www.domainishere.com/signup.php

Ignore the link part as I replaced my domain name with a false one.

Basically what I am trying to do is have anyone going to the unsecure page be automatically redirected to the secure page.

The problem I am running into is slowness. It takes a minimum of 2 minutes to redirect and I only have 1 set up.

Does any one have an idea of my problem?

thanks a bunch!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
You sure it isn't your server? You want to PM me the link to see if it is slow on my end?
 
0
•••
Are you sure it's not entering a loop?
You're redirecting http(or)https://www.domain.com/signup.php to https://www.domain.com/signup.php.

Try this in your .htaccess (and remove the current Redirect you have):

Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^signup.php$ https://www.[i]domain.com[/i]/signup.php$1
 
Last edited:
0
•••
Scott said:
Are you sure it's not entering a loop?
You're redirecting http(or)https://www.domain.com/signup.php to https://www.domain.com/signup.php.

Try this in your .htaccess (and remove the current Redirect you have):

Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^signup.php$ https://www.[i]domain.com[/i]/signup.php$1

Hi,

I gave your method a shot and it worked aswell but it still redirects slow. I am confused :-/

ok, I did some test and it appears to be only a couple pages causing the problem.

I changed to the redirect to another https:// off the site and it worked perfect so now I am assuming there is a code on the actuall page I am trying to redirect.
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
URLs.com
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back