apache - .htaccess: How can I keep the redirection and remove the subdirectory path from the urls please? -


i trying direct traffic subdirectory using .htaccess subdirectory is: /release2/code.

the following redirecting not hiding /release2/code urls

rewriteengine on  rewritecond %{http_host} ^(www\.)?mysite\.com$  rewritecond %{request_uri} !^/release2/code rewriterule ^(.*)$ /release2/code/$1 [l] 


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -