| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | .htaccess redirection slow 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!
__________________ Sincerely Mike Kelly |
| |
| | #3 (permalink) |
| Senior Member | 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.domain.com/signup.php$1
Last edited by Scott; 12-16-2005 at 03:48 PM. |
| |
| | #4 (permalink) | |
| NamePros Regular | Quote:
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.
__________________ Sincerely Mike Kelly | |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .htaccess expert/url redirection | dotcommakers | Web Development Wanted | 6 | 10-02-2005 02:00 AM |
| Using mod_rewrite and a .htaccess to do some redirection... 25 NP$ REWARD | mholt | Programming | 0 | 09-21-2005 02:15 PM |
| .htaccess + Domain Parking | wistow | Programming | 15 | 07-04-2005 08:46 AM |
| CE7.net - Free phpBB & IPB forums, blogs, hosting & redirection! No banners/popups! | ppx | Web Hosting Offers | 0 | 05-14-2005 12:49 AM |