In WordPress, you can use the login_init action hook along with the wp_redirect function. Add the following code to your theme's functions.php file:
// Redirect /wp-login.php?action=register to /registration - www.websitefunctions.com
function redirect_register_page() {
if (isset($_GET['action']) && $_GET['action'] === 'register') {
wp_redirect(home_url('/regisztracio'));
exit();
}
}
add_action('login_init', 'redirect_register_page');
After adding this code, whenever someone tries to access /wp-login.php?action=register, they will be redirected to /registration