Support Forum
No matter what is used for a logout link (not just in forum links ) but such as the admin bar logout link or even custom menus links that supply a redirect url to logout something in the way SP hooks in overrides ALL logouts redirects and forces the page to the forum page, this is a problem. Any ideas what in SP is causing it and how to fix it core or filter function.
not sure what you mean... the logout redirect is not just for sp logouts... it hooks into the logout process...
if you dont want the logout redirect, just put in an empty string there...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
not sure what you mean... the logout redirect is not just for sp logouts... it hooks into the logout process...
if you dont want the logout redirect, just put in an empty string there...
I am saying, that no matter what redirect is handed to wp-login.php NOT JUST SP logout links (when SP is active) the logout redirect string is hijacked by SP and is ignored and redirects to forum, for example:
Admin bar link: http://www.musheen.com/wp/wp-l.....ion=logout
Result location: http://www.musheen.com/forum
Result location: http://www.musheen.com/forum
Result location: http://www.musheen.com/forum
Should be: http://www.musheen.com/shop
Somewhere SP is hijacking logout redirect, it shouldn't be
If you deactivate SP plugin the results are normal and correct.
I know what you said... and yes, I said that is what happens... SP hooks into the wp logout process and adds a redirect...
clear the logout redirect url on forum - components - login and registration...
In 5.0, it would be easy to turn off the logout redirect... and add your logout button in your sp theme that only redirects for that forum page...
the vast majority of simple press users dont let their users anywhere near the admin so most want the wp stuff out complete and redirects be global... you are the first one that did not want a global redirect... but as I said, easily disabled or overcome in the sp theme...
Visit Cruise Talk Central and Mr Papa's World
I am not talking about links with in SP, I am talking about theme links OUTSIDE of SP, every logout on the whole site is overtaken by SP, I am not talking about any normal functionality of SP.
I asked fairly simply what SP filter or core call sets every logout redirect on the whole site and even within the functionality of OTHER PLUGINS and theme elements to redirect to to the forum so that this behavior can be overriden by theme elements and plugins OUTSIDE of SP.
You said it would be easy, Im just asking what is the easy way to stop the global over ride so that SP logout functions normal, and other plugins still function normal instead of logout redirect being hijacked by SP globally.
- As Steve stated, you can completely remove the SP logout redirect option as a first choice.
- SP uses the WP action hook 'wp_logout' to apply the setting in the SP logout redirect option if set.
- SP also provides a filter - 'sph_logout_redirect' - which has the $_REQUEST['redirect_to'] as the parameter in line with what WP expects to be returned.
You were gong to come back to me on the database questions you opened up. I was looking forward to that.
YELLOW
SWORDFISH
|
yeah i was having the same problem, but with this topic conversation i understood partly what you sd, and was able to solve the problem. The logout redirect was pointing at a file that was no longer present, and had been permanently removed, and i had removed a page called 'forum'. For some reason I still can not fathom, that page persisted, past clearing cache, past deleting permanently etc. I then created a new page 'forums' for setting the wp-integration for THAT page, and then i started seeing the logout button being redirected to the old 'forum' page, with the 404 msg...
Once i realized there was a component set up for the redirect, thanks you drs. etal at sp - i was able to easily fix the problem, but not before sifting through wordpress code to see if there was another way to solve the issue...
1 Guest(s)