PDA

View Full Version : Hidden Redirect Problem


conexn
02-21-2008, 11:56 AM
Hello everybody I have a big problem that I cannot figure out.

I run a site that I have recently moved to a new server, everything is working ok except I keep getting a redirect that removes the www from the address and my users are getting server busy. I have tried contacting the hosting company for help and they have been no help at all. Let me give you an example. If you were to type in: www.mywebpage.com/forums is will take you to: http://mywebpage.com/forums. I have looked threw my config files, .htaccess file (which is almost like greek to me) you name it. Now if you go and put the www back in the address bar it will keep it and work correctly. Somebody please help me... I have been working on this for 3 days.

Marco van Herwaarden
02-21-2008, 12:00 PM
Most likely cause is the .htaccess.

conexn
02-21-2008, 12:45 PM
Do you have any ideal how I can fix this?

GameWizard
02-21-2008, 12:59 PM
Login to your ftp, in the main directory should be a file called .htaccess. Edit this file in notepad and see if there's any redirects setup. If so correct them to your new server, or simply remove the file altogether.

MoT3rror
02-21-2008, 12:59 PM
You can rename the .htaccess file to something like .htaccessback and see if it is still doing it. If the problem doesn't occur anymore, you can post your .htaccess file here and we can see if we can find the problem.

conexn
02-21-2008, 03:52 PM
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
suPHP_ConfigPath /home/ftaso0/public_html/forums/index.php

That is a copy of the .htaccess file.

--------------- Added 1203617721 at 1203617721 ---------------

My members are also getting server busy all the time. I can live without the www in the address bar as long as the site works. I figured the www being missing was causing the server busy problem. I do not know if I can post the site but it is ftasolutions.com. I am at the end of my rope, someone please help me before it is put around my neck. My members are leaving for other sites because of this and my hosting company will not do a thing to help. PLEASE help me...

MoT3rror
02-21-2008, 08:26 PM
Well the "Server is too busy message" could be caused by this value being too low.
vBulletin Options -> Server Settings and Optimization Options -> *NIX Server Load Limit

If you are on a shared host, I suggest just leaving this value at 0.

Also you have this turn on.
vBulletin Options -> General Settings -> Add Template Name in HTML Comments

conexn
02-21-2008, 09:26 PM
I changed it to 0 and the other setting was already at that, still getting server busy. I called the hosting company and they said it is not on their end. Either they are not telling me the truth or something is still not correct.

GameWizard
02-22-2008, 12:50 AM
Make a backup copy of the .htaccess file and remove it. Now make sure this is the .htaccess in your public_html/ file directory, where your main index.php file is found.

Other than that, can you not access ANY page on the site, or just the index.php? Is it just PHP files, or do HTML files also not work? Play around and see what could be the root of the problem.