Notifications
Clear all

wpForo 1.x.x [Closed] Random page suddenly defaults to ?foro=signin

5 Posts
2 Users
0 Likes
601 Views
Posts: 86
Topic starter
(@janjan)
Estimable Member
Joined: 5 years ago

Hi,

My page  https://authentic-self-empowerment.com/ase-supervision-group-session-videos/, which is password protected, is since today being redirected to our forum sign in page: https://authentic-self-empowerment.com/ase-supervision-group-forum/?foro=signin

See screenshot attached. I have not made any changes and am trying to figure out what might have happened and how to get the page back to the version where it displays the field to type in a password.

Any idea of what might have caused this would be most helpful and appreciated.

4 Replies
Posts: 86
Topic starter
(@janjan)
Estimable Member
Joined: 5 years ago

Accessing the link in the post above displays the correct page, and so does the "view page" link that is accessible in the WordPress editor when editing this particular page. Accessing it via a link provided in an email or pasting it into a different browser seems to produce the results from the screenshot - the forum sign in page.

3 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 6 years ago

Support Team
Posts: 4310

@janjan,

Have you added some custom codes in the functions.php file? Please check and make sure there is no redirection code like the following one:

add_filter('wpforo_after_init_current_object', function ($current_object){
    if( in_array($current_object['template'], array('forum', 'topic')) ){
        if( !WPF()->current_userid && !WPF()->perm->forum_can('vf', $current_object['forumid']) ){
        wp_redirect( wpforo_login_url() );
        exit();
        }
    }
    return $current_object;
});
(@janjan)
Joined: 5 years ago

Estimable Member
Posts: 86

@sofy,

Thanks, No I have not added any custom codes and I don´t see any redirection. Do you also see the redirection when accessing the password protected page mentioned above?

Sofy
 Sofy
Admin
(@sofy)
Joined: 6 years ago

Support Team
Posts: 4310

ok, @janjan,

Could you please deactivate the wpForo plugin (just deactivate, don't click on the Uninstall button) and try the same with some other page?