Tagged Questions
0
votes
1answer
206 views
Why wp redirects me to wp-login.php when I visit a rewritten wp-admin URL?
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 ...
2
votes
2answers
5k views
How to change “wp-admin” to something else without search-replacing the core?
for example: foobar.com/wp/edit instead of foobar.com/wp/wp-admin
How would I do that?
I've tried using this in htaccess but it won't work:
##### ABOVE THIS POINT IS ALREADY INSERTED BY WORD PRESS
...
3
votes
3answers
9k views
How to redirect/rewrite all /wp-login requests
Is there any simple way to have wordpress, php or apache rewrite all urls which involve /wp-admin to /admin?
I have added this entry to my .htaccess file:
RewriteRule ^admin /wp-login.php [L]
...