Hi
Please review my .htaccess code below. The code below was suggested by I User here (Thanks for the code Gumbo), And I can't seem to make it work.
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /myadmin[/\s] [NC]
RewriteRule ^myadmin - [NC,L,R=404]
RewriteCond %{HTTP_HOST} =myadmin.movietunie.com [NC]
RewriteRule !^myadmin/ /home/movietun/public_html/movie_tunie/myadmin/%{REQUEST_URI} [L]
What I want to happen, In my domain (www.movietunie.com) I have a folder named (myadmin) and can be access by going to (www.movietunie.com/myadmin). Now there are a lot of user keep accessing that folder. I want to minimize it by changing the structure of it.
I want (myadmin) to be access in a subdomain structure instead of '/' so it would be something like this (myadmin.movietunie.com), Now when the try to access (www.movietunie.com/myadmin) from a browser they will get an error, But the folder structure will still remain.
Hope this make sense
Thank You!