Notifications
Clear all

wpForo 1.x.x [Closed] Regular pages of my site open as 404 pages of the Forum

16 Posts
4 Users
1 Reactions
2,990 Views
Posts: 30
 envi
Topic starter
(@envi)
Eminent Member
Joined: 6 years ago

There is a conflict between the WordPress permalink structure & wpForo and you don't care about this?!

4 Replies
(@anonymous20)
Joined: 9 years ago

Noble Member
Posts: 1602

@envi

Conflict wpForo with WHAT ? Wordpress ? I don't see any of this anywhere and i run 2 forums for myself and i have also installed wpForo, i dunno, in 10 sites or something.

All i have seen is conflict with other plugins, SEO plugins or strange/wrong permalinks configuration.

Also you seem to run W3TC and that plugin only puts a huge ammount of changes in htaccess mod_rewrite ... so .....

 envi
(@envi)
Joined: 6 years ago

Eminent Member
Posts: 30

@anonymous20

Please, read the full conversation before advocating!!!

Is your WP permalink structure set to: site.com/sample-post/ ?

If YES, please send me a post whose link starts with the slug of your forum.

And again, here is a clean installation of WP with JUST one plugin: wpForo.

Forum Link: http://rich-mink.w5.poopy.life/community/

Regular Post: http://rich-mink.w5.poopy.life/community-slug-post/

This example site will disappear after 24 h.

(@anonymous20)
Joined: 9 years ago

Noble Member
Posts: 1602
Posted by: @envi

@anonymous20

Please, read the full conversation before advocating!!!

Is your WP permalink structure set to: site.com/sample-post/ ?

If YES, please send me a post whose link starts with the slug of your forum.

And again, here is a clean installation of WP with JUST one plugin: wpForo.

Forum Link: http://rich-mink.w5.poopy.life/community/

Regular Post: http://rich-mink.w5.poopy.life/community-slug-post/

This example site will disappear after 24 h.

@envi Please watch your language. I'm not advocating anyone. I also spend 10 minutes to check your site and possibly help.

I think some people do not deserve any replies here.

Sorry for the trouble, good luck.

 envi
(@envi)
Joined: 6 years ago

Eminent Member
Posts: 30

@anonymous20

You were aggressive against me. And then you're surprised by my answer.

The conflict between wpForo & WP permalink structure is a fact! This problem also appears on a clean installation of WP with only one active plugin - wpForo. Why do you deny it?

This is a big problem for wpForo and a small one for me.

Sofy
Posts: 4802
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @envi,

We've found the problem. It'll be fixed in the next version release. 

If you need to solve it asap please follow the steps below:

1. Open the wp-content/plugins/wpforo/wpf-includes/functions.php file

2. Find the is_wpforo_url($url = '') function 

3. Replace the following one:

function is_wpforo_url($url = ''){
if( wpforo_is_admin() ) return FALSE;
if(!$url) $url = wpforo_get_request_uri();

if( WPF()->use_home_url ) return TRUE;

$current_url = wpforo_get_url_query_vars_str($url);

if( WPF()->permastruct && strpos($current_url, WPF()->permastruct . '/') === 0 ) return TRUE;

return FALSE;
}
1 Reply
 envi
(@envi)
Joined: 6 years ago

Eminent Member
Posts: 30

@sofy

Thank you!

Page 2 / 2