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
Post a Comment