Sign in to follow this  
rustam

Wrong redirect on logout from forum

Recommended Posts

Consider following setup:

IPB is setup under forum.somedomain.com

Test instance of WordPress is set up under dev.somedomain,com

Live instance of WordPress is set up under somedomain.com.

 

During testing period IPBWI for WordPress was configuration to integrate test instance of WP with IPB. In IPB admin panel "Blog Domain" setting was set to dev.somedomain.com.

Now testing period completed and we performed following:

1. Uninstalled IPBWI on test instance of WP

2. Installed IPBWI on live instance of WP

3. Changed "Blog Domain" setting on IPB admin to "somedomain.com"

4. Run "recache all" on IPB admin

 

Now, when on IPB user press sign out, he is redirected to hxxp://dev.somedomain.com/wp-login.php?action=logout. I.e. somewhere previously used blog domain is still cached.

Where can we look for it to correct the issue?

Share this post


Link to post
Share on other sites

Hi Matthias,

 

Thanks for your response, but as i've noted in the initial post - Blog Domain setting was changed on IPB, see screenshot from IPB admin http://clip2net.com/s/3aT59qh.

Furthermore, when this did not worked we tried "Recache all" function in IPB Admin -> Tools & Settings -> Cache Management.

Redirect still occurs to wrong address. Where else it could be saved?

 

Thanks.

Share this post


Link to post
Share on other sites

Did you updated WordPress domains properly? Try this PHP code in your theme's functions.php:

update_option('siteurl','http://domain.com/');update_option('home','http://domain.com/');

of course replace domain.com with your domain.

Share this post


Link to post
Share on other sites

Hi Rustam,

 

I don't think that's a bug of IPBWI for WordPress, as normally, there shouldn't be a redirect from forum to WP after being logged out from forum. So I'd assume you may either have a 301 redirect in your .htaccess file or a WP plugin causing this redirect. So my advice: Check your htaccess and try deactivating all plugins except IPBWI for WordPress for testing purposes.

 

Please tell me the results for proceeding investigation.

 

Kind regards,

 

Matthias

Share this post


Link to post
Share on other sites
Sign in to follow this