Notifications
Clear all

wpForo 1.x.x [Closed] How to completely disable login,register and password urls?

5 Posts
3 Users
0 Reactions
3,545 Views
Posts: 17
Topic starter
(@winpeace)
Eminent Member
Joined: 6 years ago

these options are set NO in Dashboard > Forums > Settings > Features Tab

But I  enter ?wpforo=signin or signup or password link showing the login, register or lost password page. How to completely disable login,register and password urls?

4 Replies
Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

The disabling options are designed to remove all menus but that page templates are still exist, so they are loaded when you call the URL. I'm sorry but there is no way to stop loading it.

You can disable forum registration using the according option (Option name: Enable User Registration) in the same admin page. thus the forum registration page will not allow to register.

Also make sure these options are disabled:

  • Replace Registration Page URL to Forum Registration Page URL
  • Replace Login Page URL to Forum Login Page URL
  • Replace Reset Password Page URL to Forum Reset Password Page URL

And remove the Login/Register menus in Dashboard > Appearance > Menus > wpForo Navigation.

 

Posts: 17
Topic starter
(@winpeace)
Eminent Member
Joined: 6 years ago

🙁

Cant do it add any code to functions.php ?

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

Nobody knows the URL of login page. the register page can be disabled as I explained above. So you don't need other things to do. There is no code to add.

Just make sure there is no menu or other links to login page, that's it. How would access people to that page if you don;t have any link or menu? And why they should spend time for this. The login form is unnecessary thing for people who is not registered. The registration form will return error if you follow to may instruction above, so it's can bee disabled too.

Posts: 83
(@timrodman)
Estimable Member
Joined: 8 years ago

You could also to a 301 redirect in your .htaccess file to ensure that a page can't be loaded.