Replies: 0
I have installed my site at subdomain, but would like to move it to subdirectory.
Currently I am using htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteRule ^subdirectory/(.*) http://subdomain.mysite.com/$1 [R=301,L]
The problem for this is, the users will be able to see the subdomain url on the address bar.
Is there a way that the users see the subdirectory url on the address bar instead?
Thank you.