Same question: Use htaccess to mask folder name
but the answer doesnt work. My .htaccess
file curently look like:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteCond %{THE_REQUEST} ^GET\ /wp-admin/
RewriteRule ^wp-admin/(.*)$ dashboard/$1 [R,L]
RewriteRule ^dashboard(.*)$ wp-admin$1
and I always get:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
dashboard
-wp-admin
it seems like redirecting to each other; I just want to displaying mysite.com/dashboard
but the content must be mysite.com/wp-admin
, I am using wordpress 3.5.1. it is possible, isn't it? I am not good at all in server stuff; so please help;
Thanks.
/dashboard/
a real directory?