Page 2 of 2
Re: finding the redirect to code in my theme
Posted:
December 22nd, 2011, 10:49 am
by Philly
an easy way to get to that file is to install
http://wordpress.org/extend/plugins/wordpress-seo/then in your wp admin screen your have an seo section under optimize
go to edit files in that section, you should now see your .htaccess file
hopefully the reason for the redirects is in there
Re: finding the redirect to code in my theme
Posted:
December 22nd, 2011, 12:56 pm
by dwaynecla
been in chat with hostgator for about 2 hours...they can't figure it out either...hmmmmm...
Re: finding the redirect to code in my theme
Posted:
December 22nd, 2011, 1:11 pm
by Philly
I checked about half hour ago and your server was not re directing so everything was working fine
I just looked again and its redirecting to /wp-login.php again
have you made any changes in the last half hour?
also have you looked at your .htaacess file?
Re: finding the redirect to code in my theme
Posted:
December 22nd, 2011, 1:16 pm
by dwaynecla
it was fixed for a short min...and then it went back...all i did was log out and tried to log back it
Re: finding the redirect to code in my theme
Posted:
December 22nd, 2011, 1:43 pm
by dwaynecla
they're still working on it at hostgator
Re: finding the redirect to code in my theme
Posted:
December 22nd, 2011, 1:44 pm
by Philly
If the .htaccess file was changed somehow, sometimes it can cause WordPress to redirect all pages back to the home page, instead of showing the page. Sometimes resetting the permalinks will solve this problem.
Login to the WordPress Dashboard
Click of Settings on the menu on the left hand side.
Click on Permanlinks under Settings.
Remember which setting it is set on now. (If you are using a custom structure, copy or save the custom structure somewhere.)
Select Default
Click on Save Changes
Change it back to the setting it was on before you selected Default. (Put the custom structure back if you had one.)
Click Save Changes
This will reset the permalinks and many times this will fix the issue.
Re: finding the redirect to code in my theme
Posted:
December 22nd, 2011, 2:01 pm
by dwaynecla
hmmm.... I think that did it... I'm testing further...
Re: finding the redirect to code in my theme
Posted:
December 22nd, 2011, 5:37 pm
by Raam Dev
Great! Keep us posted.
Re: finding the redirect to code in my theme
Posted:
December 25th, 2011, 5:02 am
by Cristián Lávaque
In your wp-login.php form I see this:
- Code: Select all
<input type="hidden" name="redirect_to" value="http://jelanikhalfani.com/wp-admin/" />
If you deactivate all other plugins and leave just s2Member, do you still have that line there?
If you change the theme to the default TwentyEleven, do you still have that line there?