Skip to content
Sign in

WP User Profile Restriction

Restrict user profile editing with granular role-based controls, additional wp-admin page restrictions, REST API protection, and custom redirects.

Not scanned yet WordPress plugin 500 installs

Install in

No install steps yet

Follow the steps on the source page.

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
  • Restricted Admin Pages – Block restricted roles from the user management screens: Profile (enabled by default), Users list, Add New User and Edit User
  • REST API Restriction Parity – Profile updates sent to /wp-json/wp/v2/users/me or to the user’s own /wp-json/wp/v2/users/<id> endpoint are rejected with HTTP 403, so the restriction cannot be bypassed through the API, a mobile app or a headless client
  • 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
  • Built-in Contact Form – Send a question or a feature suggestion to the plugin author straight from the settings page, without leaving your dashboard
  • 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

Check out our Pro features and the Early Black Friday deal here.

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. Select Pages – Profile is blocked out of the box; optionally also check the Users list, Add New User and Edit User screens
  5. Keep REST Protection On – Leave the REST API restriction enabled so the same rules apply to API requests
  6. Optional Redirect – Set a custom redirect URL if desired
  7. Done! – Restricted users can no longer edit their profiles from the dashboard or the API

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
  • Any additional user management pages you select: the Users list, Add New User and Edit User
  • Profile update requests sent through the WordPress REST API
  • 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

The quickest way to reach us is the contact form in the settings page (Dashboard > Settings > User Profile Restriction) sidebar, which emails your question or feature suggestion directly to the plugin author. You can also visit the plugin’s support forum on WordPress.org.

Reviews

If the plugin is doing its job on your site, a five star review on WordPress.org helps other site owners find it and is genuinely appreciated.

Privacy

This plugin does not collect, store, or transmit any user data, and all settings are stored locally in your WordPress database. The only exception is the contact form on the settings page: when an administrator chooses to submit it, the name, email address and message they type are emailed to the plugin author, together with your site URL, plugin version and WordPress version so we can reproduce the issue. Nothing is sent unless the form is submitted.

Credits

Developed and maintained by TheInnovs | WPCommerz

Written by Joobi from the project's own listing. See the source page

disable editing user profilerest api restrictionrestrict wp-admin pagesrole based restrictionsuser profile restriction
23 Nov 2026
Version 2.0.2 released. Not scanned yet.

2.0.1

  • Improve: UI
  • Add: Pro features

2.0.1

  • Added: Restricted Admin Pages – block restricted roles from wp-admin screens beyond profile.php, with checkboxes for the Users list, Add New User and Edit User screens
  • Added: The Profile page (profile.php) is now restricted by default on new installs, matching the plugin’s long-standing behaviour
  • Added: Preview of further restrictable screens (Tools, Export, Import, General Settings, Themes, Plugins, Comments, Media Library and custom page slugs) shown as options reserved for the Pro version
  • Added: REST API restriction parity – write requests to /wp-json/wp/v2/users/me and to the user’s own /wp-json/wp/v2/users/ endpoint are now rejected with HTTP 403, closing the API bypass of the profile.php restriction
  • Added: Settings toggle to enable or disable the REST API restriction, enabled by default
  • Added: Developer hooks – wpupr_default_settings, wpupr_available_admin_pages, wpupr_pro_admin_pages, wpupr_custom_pages_available, wpupr_restricted_pages, wpupr_before_restrict_admin_page, wpupr_after_pro_page_checkboxes, wpupr_rest_write_methods, wpupr_is_restricted_rest_route, wpupr_rest_access_denied_message, wpupr_rest_access_denied_response and wpupr_rest_access_denied
  • Improved: Access denial logic centralised so redirects and error messages behave identically on the profile page and on other restricted pages
  • Improved: Settings are merged with defaults on read, so options saved by earlier versions keep working without a database upgrade
  • Improved: Page entries are sanitized against path traversal, only pages offered by this version can be saved or enforced, and the plugin’s own settings screen can never be blocked
  • Added: Contact form in the settings sidebar for questions and feature suggestions, delivered to the plugin author by email with your address set as the reply-to
  • Added: Five star review request on the settings page, opening WordPress.org in a new tab
  • Added: “New” badges on the Restricted Admin Pages and REST API Restrictions sections
  • Added: Developer hooks – wpupr_new_badge, wpupr_settings_page_url, wpupr_review_url, wpupr_before_sidebar, wpupr_after_sidebar, wpupr_contact_form_before_submit, wpupr_contact_form_processed, wpupr_contact_email_to, wpupr_contact_from_email, wpupr_contact_from_name, wpupr_contact_email_subject, wpupr_contact_email_message and wpupr_contact_email_headers
  • Improved: Settings page now uses a two column layout, placing the support and review boxes in the previously empty space beside the settings
  • Updated: Tested with WordPress 7.0.2

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
7 Jan 2019Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)