PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

finding the redirect to code in my theme

s2Member Plugin. A Membership plugin for WordPress®.

Re: finding the redirect to code in my theme

Postby Philly » December 22nd, 2011, 10:49 am

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
User avatar
Philly
Experienced User
Experienced User
 
Posts: 48
Joined: December 19, 2011

Re: finding the redirect to code in my theme

Postby dwaynecla » December 22nd, 2011, 12:56 pm

been in chat with hostgator for about 2 hours...they can't figure it out either...hmmmmm...
User avatar
dwaynecla
Registered User
Registered User
 
Posts: 17
Joined: December 21, 2011

Re: finding the redirect to code in my theme

Postby Philly » December 22nd, 2011, 1:11 pm

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?
User avatar
Philly
Experienced User
Experienced User
 
Posts: 48
Joined: December 19, 2011

Re: finding the redirect to code in my theme

Postby dwaynecla » December 22nd, 2011, 1:16 pm

it was fixed for a short min...and then it went back...all i did was log out and tried to log back it
User avatar
dwaynecla
Registered User
Registered User
 
Posts: 17
Joined: December 21, 2011

Re: finding the redirect to code in my theme

Postby dwaynecla » December 22nd, 2011, 1:43 pm

they're still working on it at hostgator
User avatar
dwaynecla
Registered User
Registered User
 
Posts: 17
Joined: December 21, 2011

Re: finding the redirect to code in my theme

Postby Philly » December 22nd, 2011, 1:44 pm

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.
User avatar
Philly
Experienced User
Experienced User
 
Posts: 48
Joined: December 19, 2011

Re: finding the redirect to code in my theme

Postby dwaynecla » December 22nd, 2011, 2:01 pm

hmmm.... I think that did it... I'm testing further...
User avatar
dwaynecla
Registered User
Registered User
 
Posts: 17
Joined: December 21, 2011

Re: finding the redirect to code in my theme

Postby Raam Dev » December 22nd, 2011, 5:37 pm

Great! Keep us posted. :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: finding the redirect to code in my theme

Postby Cristián Lávaque » December 25th, 2011, 5:02 am

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?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Previous

Return to s2Member Plugin

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

cron