Page is a not externally linkable
gapao99 - 7:01 pm on Apr 17, 2011 (gmt 0)
Hi.
My problem looks simple: make my wordpress admin blog url go from > mysite/wp-admin to mysite/admin
I want to customize all my wordpress admin installation and transform urls like mysite/wp-admin/edit.php on something like mysite/admin/newpost
My problem is that i'm trapped on a loop.
here is .htacess
RewriteEngine On
RewriteBase /wordpress/
#Here we convert any URL with wp-admin on it to admin friendly url
#the line below DOESN'T resolve the loop problem!
#RewriteCond %{THE_REQUEST} ^GET\ (.*)\ HTTP
RewriteCond %{REQUEST_URI} wp-admin/(.*)$
RewriteRule wp-admin/(.*)$ admin/$1 [R=301]
RewriteRule ^/(.*)$ wp-admin/$1 [QSA,L]
#here we make the basic rewrite
RewriteRule ^admin/(.*)$ wp-admin/$1 [QSA,L]
So, how to avoid this loop?
thanks for any help.
my best