ryland22 Posted April 13, 2012 Share Posted April 13, 2012 I need for requests to: mywebsite.com to actually hit: mywebsite.com/project I don't want it to be transparent to the browser. The user should still see: mywebsite.com, even though they are hitting: mywebsite.com/project I have tried the following in my .htaccess file with no luck: RewriteRule %{HTTP_HOST} ^website\.com$ website.com/project$1 RewriteRule ^website\.com(.*)$ website.com/project$1 RewriteRule ^website\.com$ website\.com/project$1 Any help is much appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/260842-htaccess-rewrite-and-hide/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.