admin管理员组

文章数量:1323157

I have a WordPress site which has the built-in login form with the url .php and register page .php?action=register

I want to display these forms on a page I created from the backend.

login


register


Is it possible and how can I do this?

I have a WordPress site which has the built-in login form with the url http://domain/wp-login.php and register page http://domain/wp-login.php?action=register

I want to display these forms on a page I created from the backend.

login

http://domain/profile/login

register

http://domain/profile/register

Is it possible and how can I do this?

Share Improve this question edited May 13, 2019 at 1:09 butlerblog 5,1013 gold badges26 silver badges43 bronze badges asked Feb 14, 2015 at 19:27 Kotsh GFXKotsh GFX 436 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

You could try to add this to your .htaccess file:

Redirect 301 http://domain/wp-login.php  http://domain/profile/login
Redirect 301 http://domain/wp-login.php?action=register   http://domain/profile/register

Hope it helps.

Use the Theme My Login plugin: https://wordpress/plugins/theme-my-login/

本文标签: How to redirect login and register pages