Archived topic
How to redirect default wordpress registration page to custom registration page?
3 replies · Started by bluebit on August 1, 2017
I'm getting lots of bots registering on my site and I didnt know about the default registartion page, how do I redirect traffic from
https://wildlatina.com/wp-login.php?action=register
to
https://wildlatina.com/registrate/
Should I do this, I dont want to break my site, first time creating a php plugin or there is a better way?
https://wordpress.2bearstudio.com/redirect-user-registration-custom-registration-page/
That code looks like it should work.
If you don't want to allow registrations, you can turn them off in "Settings > General".
can you quickly create this plugin,
https://wordpress.2bearstudio.com/redirect-user-registration-custom-registration-page/
https://wordpress.2bearstudio.com/create-wordpress-plugin/
use
https://wildlatina.com/wp-login.php?action=register
to
https://wildlatina.com/registrate/
I'm trying to follow the directions, but not quite sure how to do it.
I'm afraid creating custom plugins falls a little out of the scope of this support forum.
However, all you need to do is copy that function and add it using these instructions: https://docs.generatepress.com/article/adding-php/
Then just update the URL.
A plugin like this might be a good alternative as well: https://en-ca.wordpress.org/plugins/peters-login-redirect/