Hopp til innhold
WordPress.org

Norsk (Bokmål)

  • Tema
  • Utvidelser
  • Nyheter
  • Om
  • Mønstre
  • Delta
  • Meetups
  • Slack
  • Kontakt
  • Få WordPress
Få WordPress
WordPress.org

Plugin Directory

WP User Profile Restriction

  • Send inn en utvidelse
  • Mine favoritter
  • Logg inn
  • Send inn en utvidelse
  • Mine favoritter
  • Logg inn

WP User Profile Restriction

Av Shawon Chowdhury
Last ned
  • Detaljer
  • Omtaler
  • Installering
  • Utvikling
Brukerstøtte

Beskrivelse

WP User Profile Restriction is a powerful yet simple plugin that allows you to restrict profile editing capabilities for specific user roles. Perfect for demo sites, membership websites, or any WordPress installation where you need to maintain control over user profile modifications.

Key Features

  • Granular Role-Based Restrictions – Choose exactly which user roles should be restricted from editing their profiles
  • Custom Redirect Options – Redirect restricted users to a specific URL instead of showing an error message
  • Automatic Menu Hiding – Profile links are automatically hidden from admin bar and dashboard menu for restricted users
  • Easy Settings Page – Configure all options from a user-friendly settings page in WordPress admin
  • Backward Compatible – Maintains default security by restricting Subscribers and Contributors by default
  • No Coding Required – Simple checkbox interface for all configurations
  • Lightweight & Fast – Minimal impact on site performance

How It Works

  1. Install and Activate – The plugin works immediately with secure defaults
  2. Configure Settings – Go to Settings > Profile Restriction to customize
  3. Select Roles – Check which user roles should be restricted
  4. Optional Redirect – Set a custom redirect URL if desired
  5. Done! – Restricted users can no longer edit their profiles

Default Behavior

By default, the plugin restricts Subscribers and Contributors from editing their profiles. This maintains security while allowing Editors, Authors, and Administrators full access. You can customize this behavior at any time from the settings page.

Perfect For

  • Demo and staging websites
  • Membership sites
  • Multi-author blogs
  • Educational institutions
  • Client websites
  • Any site requiring profile editing restrictions

What Gets Restricted

  • Direct access to profile.php page
  • Profile link in admin bar
  • Profile submenu in dashboard
  • All profile editing capabilities for selected roles

Administrator Protection

Administrators always retain full access to edit any profile, regardless of plugin settings. This ensures you never lock yourself out of critical functionality.

Additional Information

Support

For support, feature requests, or bug reports, please visit the plugin’s support forum on WordPress.org.

Privacy

This plugin does not collect, store, or transmit any user data. All settings are stored locally in your WordPress database.

Credits

Developed by Shawon C for TheInnovs LLC

Skjermbilder

  • Settings page with role-based restriction options
  • Custom redirect configuration
  • Restricted user attempting to access profile

Installasjon

Automatic Installation (Recommended)

  1. Log in to your WordPress dashboard
  2. Navigate to Plugins > Add New
  3. Search for «WP User Profile Restriction»
  4. Click «Install Now» and then «Activate»
  5. Go to Settings > Profile Restriction to configure

Manual Installation

  1. Download the plugin ZIP file
  2. Log in to your WordPress dashboard
  3. Navigate to Plugins > Add New > Upload Plugin
  4. Choose the downloaded ZIP file and click «Install Now»
  5. Activate the plugin
  6. Go to Settings > Profile Restriction to configure

FTP Installation

  1. Download and unzip the plugin file
  2. Upload the wp-user-profile-restriction folder to /wp-content/plugins/ directory
  3. Activate the plugin through the Plugins menu in WordPress
  4. Go to Settings > Profile Restriction to configure

Ofte stilte spørsmål

Does this plugin require any configuration?

No! The plugin works immediately upon activation with secure defaults (Subscribers and Contributors are restricted). However, you can customize the behavior from Settings > Profile Restriction.

Which user roles are restricted by default?

By default, Subscribers and Contributors are restricted from editing their profiles. This provides security while maintaining backward compatibility with version 1.0.6.

Can I choose which roles to restrict?

Yes! Version 2.0 introduces a settings page where you can select exactly which user roles should be restricted using simple checkboxes.

Can administrators still edit profiles?

Yes, administrators always have full access to edit any profile, regardless of plugin settings.

What happens when a restricted user tries to access their profile?

By default, they see an error message. Optionally, you can enable custom redirect to send them to a specific page (like the homepage or a custom access denied page).

Will restricted users see the Profile menu?

No, the Profile link is automatically hidden from both the admin bar and the dashboard sidebar menu for all restricted users.

Can I redirect restricted users to a custom page?

Yes! In the settings page, you can enable custom redirect and specify any URL where restricted users should be redirected.

Is this plugin compatible with the latest WordPress version?

Yes, the plugin is regularly tested and updated to ensure compatibility with the latest WordPress releases.

Will this affect my existing users?

If you’re upgrading from version 1.0.6, the plugin maintains the same default behavior (restricting Subscribers and Contributors). Your existing security settings remain intact.

Can I restrict Editors or Authors?

Yes, you can select any combination of user roles to restrict from the settings page.

Does this work with custom user roles?

Yes, the plugin automatically detects all user roles on your site, including custom roles created by other plugins.

Vurderinger

Great

gwenm 28. oktober, 2022
Very good 🙂

It works!

OutBoxed 26. april, 2022
It does exactly what I needed it to do, thank you 🙂 PS: This works perfectly in conjunction with the Autologin Links and Registered Users Only plugins, where you want to create a standard subscriber autologin link (for restricted/intranet/private content), but you don’t want subscribers to be able to modify any profile info.

Nice plugin

samurai17 26. mars, 2021
Good job 🙏

Great feature

lien007 24. januar, 2021
Thank you so much for making

Thank you so much

evillizard 27. mai, 2020
Quick and simple straight to the point, other authors to should be more like you, .. I’ve tried several confusing plugins .. But this just went straight to the point and solved the problem..
Les alle 5 vurderinger

Bidragsytere og utviklere

«WP User Profile Restriction» er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen:

Bidragsytere
  • Shawon Chowdhury
  • TheInnovs
  • TheInnovs Team

Oversett “WP User Profile Restriction” til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.

Endringslogg

2.0.0 (2024-11-09)

  • Major Update – Complete rewrite with new features
  • Added: Settings page for easy configuration
  • Added: Granular role-based restriction controls
  • Added: Custom redirect option for restricted users
  • Added: Automatic hiding of Profile menu for restricted users
  • Added: Checkbox interface for selecting restricted roles
  • Improved: Code structure using OOP approach
  • Improved: Security with proper sanitization and validation
  • Improved: User experience with informative settings page
  • Maintained: Backward compatibility with default restrictions
  • Updated: Tested with WordPress 6.8.3

1.0.6

  • Fix: Compatibility with the latest WordPress version

1.0.5

  • Compatibility fix with WordPress 5.8.2

1.0.4

  • Compatibility fix with latest WordPress

1.0.3

  • Compatibility check

1.0.2

  • Compatibility with WordPress 5.3.2

1.0.1

  • Compatibility with WordPress 5.1

1.0.0

  • Initial release

Meta

  • Versjon 2.0.0
  • Sist oppdatert 3 måneder siden
  • Aktive installasjoner 400+
  • WordPress-versjon 4.0.3 eller nyere
  • Testet opp til 6.8.3
  • Språk
    English (US)
  • Avansert visning

Vurderinger

5 av 5 stjerner.
  • 5 5-star reviews 5 stjerner 5
  • 0 4-star reviews 4 stjerner 0
  • 0 3-star reviews 3 stjerner 0
  • 0 2-star reviews 2 stjerner 0
  • 0 1-star reviews 1 stjerne 0

Legg til min anmeldelse

Se alle omtalene

Bidragsytere

  • Shawon Chowdhury
  • TheInnovs
  • TheInnovs Team

Brukerstøtte

Har du noe å si? Trenger du hjelp?

Vis brukerstøtteforumet

  • Om
  • Nyheter
  • Hosting
  • Personvern
  • Fremvisning
  • Temaer
  • Utvidelser
  • Mønstre
  • Lær
  • Brukerstøtte
  • Utviklere
  • WordPress.tv ↗
  • Bli involvert
  • Arrangementer
  • Doner ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Norsk (Bokmål)

  • Besøk vår konto på X
  • Visit our Bluesky account
  • Besøk vår Mastodon-konto
  • Visit our Threads account
  • Besøk vår Facebook-side
  • Besøk vår Instagram-konto
  • Besøk vår LinkedIn-konto
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kode er poesi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.