Linux 软件免费装

Disable WP Registration Page

开发者 maurisrx
更新时间 2026年5月7日 17:02
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

redirect spam registration spam prevention disable registration

下载

1.0 1.0.2 1.0.3 1.0.1

详情介绍:

This plugin disables default WP registration page by redirecting users who access the registration page URL to the default WP login page. If somehow you still want to accept user registration but want to disable default WP registration page to prevent bot, SPAM registration or something like that, this plugin is for you. No settings needed. Install, activate, done.

安装:

Automatic Installation
  1. Log in to the WP admin dashboard.
  2. Go to "Plugins > Add Plugin".
  3. Enter "Disable WP Registration Page" to the search box and press enter.
  4. Install and activate the plugin.
Manual Installation (via WordPress Admin Dashboard)
  1. Download the plugin zip file.
  2. Log in to the WP admin dashboard.
  3. Go to the "Plugins > Add Plugin".
  4. Click the "Upload Plugin" button, and an upload box will appear.
  5. Click the "Choose File" button and select the plugin zip file.
  6. Click the "Install Now" button and wait until the plugin has been fully installed.
  7. Activate the plugin.
Manual Installation (via FTP/SFTP)
  1. Download the plugin and extract the plugin zip file.
  2. Connect to your website server via FTP/SFTP using an FTP/SFTP client such as FileZilla.
  3. Upload "disable-wp-registration-page" folder to "/wp-content/plugins/" directory of your website.
  4. Go to "Plugins > Installed Plugins".
  5. Find "Disable WP Registration Page" and click "activate".

常见问题:

How can I change the text "Manual registration is disabled" on the login page?

You can add the following PHP code snippets to your active theme's functions.php or a snippet plugin: add_filter( 'dwprp_registration_link', function() { return '<span class="dwprp-registration-link">Your custom registration link text</span>' } );

How can I change the redirect destination URL which defaults to the login page?

You can add the following PHP code snippets to your active theme's functions.php or a snippet plugin: add_filter( 'dwprp_registration_redirect_url', function() { return site_url( '/your-custom-registration-page' ); } );

How can I hide the registration link and text entirely on the login page?

You can add the following CSS to your active theme's style.css or a snippet plugin: .dwprp-registration-link { display: none; }

更新日志:

1.0.3 1.0.2 1.0.1 1.0