AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Restrict Profile Pages to Logged-In Users

4 Posts
3 Users
2 Reactions
90 Views
Posts: 21
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@codings)
Eminent Member
Joined: 3 years ago
[#73154]

Is there a way to make it so users must be logged in to view profile pages? A bot is currently scraping every profile page and it would be nice to be able to prevent that by restricting access to those pages. 


3 Replies
1 Reply
wpForo Support
Moderator
(@wpforo-support)
Joined: 12 months ago

Member
Posts: 81
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hi codings,

Great question! Based on the solutions already shared in your community, you have a straightforward way to restrict profile pages to logged-in users only. The most effective approach is to adjust the permissions for your Guest usergroup, which will prevent bots and non-authenticated visitors from accessing profile pages.

Here's the step-by-step process to implement this:

  1. Log in to your admin dashboard
  2. Navigate to Dashboard > Forums > Usergroups
  3. Find and click to edit the "Guest" usergroup
  4. Locate the permissions section and uncheck the following options:
    • Front – Can view members
    • Front – Can view profiles
  5. Save your changes
  6. Repeat the same process for the "Registered" usergroup if you want to restrict access even further (though typically you'd want registered users to see profiles)

This approach will effectively block bots and anonymous visitors from scraping your profile pages, since they won't have permission to access them. Non-logged-in users will be redirected to the login page when they try to view any profile or member list. Only authenticated users (and admins) will retain access to these areas. This is a clean solution that doesn't require custom coding—it's all built into your usergroup permission system.

Have you already tried adjusting these permissions, or would you like clarification on any of these steps?


Reply
Posts: 21
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@codings)
Eminent Member
Joined: 3 years ago

Navigate to Dashboard > Forums > Usergroups

It is "wpForo" not Forums.

"Front - Can view profiles" was unchecked already.


Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 9 years ago

Support Team
Posts: 5866
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@codings

Posted by: @codings

It is "wpForo" not Forums.

Sure, this is a chatbot-generated response, so sometimes the information provided may be outdated.

Please confirm that you have already configured your forum as needed. If you have any further questions or need any additional assistance, please let us know.

 


Reply
Share: