I have this rewrite rule
^dashboard(.*) wp-admin$1 [L]
and wp redirects me to wp-login.php when I try to visit /dashboard (even if I am logged in)
Any idea why this happen, and how I can solve this issue?
|
I have this rewrite rule
and wp redirects me to wp-login.php when I try to visit /dashboard (even if I am logged in) Any idea why this happen, and how I can solve this issue? |
||||
|
|
|
You have to use a redirect not just a rewrite:
WordPress is using a hard coded search for |
|||||||
|