Arrow

Is there a way to bypass the login for one page | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Is there a way to bypass the login for one page
October 15, 2012
10:22 am
dave9621
Guest

I have a need to have one unprotected/login free page on my WordPress site. Is there a way to bypass the Login Redirect if I specify a path to my page? Something like this:

http://www.abc.com (leads to the login/redirect page)

http://www.abc.com/special (leads directly to this page and doesn't fire the login/redirect)

Thanks for your help, it's an awesome plug in!
Dave

October 15, 2012
2:26 pm
Peter
Admin
Forum Posts: 841
Offline

Hi, you can use the redirect_to variable, as a hidden form value in your login form or as a GET parameter. That would override any redirect URL from the plugin if the "Allow a POST or GET "redirect_to" variable to take redirect precedence" setting (configured at the bottom of the Settings > Login/logout redirects management page) is set to "Yes".

October 15, 2012
7:01 pm
dave9621
Guest

Hi Peter, thanks for getting back to me. I'm not sure this fix will work for me. I want to avoid the login for altogether for one specific page. So if I send someone to a link in an email, for instance, to http://www.abc.com/special I don't want the form to show at all, I just want to show the content of the "special" page.

October 16, 2012
12:02 am
Peter
Admin
Forum Posts: 841
Offline

Ah, sorry for misunderstanding the issue. If I'm understanding correctly this time, this is not actually related to login redirection, but permissions on that special page. You'd have to look at how permissions are currently configured (possibly with a flag on each article). I'd suggest using the general WordPress forums to get more specific help on that. Good luck!

October 16, 2012
6:08 am
dave9621
Guest

Thanks Peter, that points me in the right direction.