Support Forum

Clicking on forums redirects to homepage

DO doctorb
doctorb
Member

Installed 5 beta 2 days ago on our site and everything worked fine. Then yesterday, I found that suddenly, although the forum homepage was loading fine, on clicking on any forum, the user was directed to the site homepage. 

I recreated the forum indexes using the forum toolbox and everything started working fine again.

 

But today again we have exactly the same problem and recreating indexes, clearing cache, and resetting site permalinks is not helping.

 

Can you please have a look:

 

http://problem-with-post-edit-buttonpathy.com/forum/

21 Answers

New Answer

MP Mr Papa
Mr Papa
Member

so something is changing? 

wait, looks like you are running the yoast seo plugin, true?  if so go to its options and turn off the option for rewriting or converting ugly urls (or something like that)…  it messing with our permalinks and rewrites for some reason…

DO doctorb
doctorb
Member

I tried to disable the yoast plugin and then cleared the cahce too but it didn’t correct the problem. So obviously yoast is not the culprit here.

YS Yellow Swordfish
Yellow Swordfish
Member

So something else must be performing the redirection. Do you have the Permalink Redirect plugin active for example?

MP Mr Papa
Mr Papa
Member

or… your page is currently getting cached by w3 total cache…  as discussed a zillion times here, you cannot cache the forum page… and must tell w3 total cache to ignore and not cache the forum page for ALL types of cache you are using…

here is an example of the cached pages I am getting served:

<!– Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 39/61 queries in 0.020 seconds using disk: basic
Object Caching 1936/1946 objects using disk: basic

Served from: hpathy.com @ 2011-12-18 16:44:17 –>

since every forum page is dynamically generated, it cannot be cached… likely you are serving cached pages from when yoast seo was attempting to correct the urls…

DO doctorb
doctorb
Member

This briefly got resolved yesterday. I am not sure how.

 

But today the problem still come up. And that is, when I have already disabled w3t cache plugin. So this can’t be a cache issue.

 

I do not have any permalink redirection plugin.

MP Mr Papa
Mr Papa
Member

define disabled? if you still have an advanced_cache.php file in wp-content and still have wp_cache defined in your wp config, you may still be getting cached results if the cache was not also cleared…

and you dont have to disable…  just tell it to ignore the forum page.. each cache option in that plugin has that ability…

DO doctorb
doctorb
Member

That is what I did after reading your suggestion. Asked the cache plugin to ignor ethe forum page but that didn’t help.

Then I disabled the plugin from the network admin (wordpress multisite). Didn’t help.

 

Then out of despair..I upgraded to the last nightly built of beta 5. After that the links started working fine again and so far they are working fine. I have ofcourse not enabled the chance plugin again yet but will give it a shot with ignore forum page.

MP Mr Papa
Mr Papa
Member

chance plugin? is that the cache plugin?

let us know how it goes…

DO doctorb
doctorb
Member

Mr Papa said

chance plugin? is that the cache plugin?

let us know how it goes…

embarassed yups, the cache plugin. Sorry for the typo.

DO doctorb
doctorb
Member

This error has again cropped up and refuses to go:

 

Clicking on nearly all forums takes to home-page, where as clicking on veterinary forum, takes to an editorial with same title.

 

No cache plugin active

I have tried resetting permalinks, rebuiliding forum indexes, renaming forum page, and even upgraded to the last beta built. No luck this time. 🙁

DO doctorb
doctorb
Member

Remembered. I installed ‘No Category Base’ plugin and that is why this has cropped up this time.

 

But A large number of wordpress websites use this plugin to remove ‘category’ from their website url’s, which wordpress forces. What would be the solution?

YS Yellow Swordfish
Yellow Swordfish
Member

So what does this plugin actually do? And I am curious why it should be effecting a WordPress ‘page’ object to which you can not assign a category anyway rendering it, I would have thought, redundant. Can not pages be excluded from its grip?