toolman Posted November 7, 2014 Share Posted November 7, 2014 Hi, Can someone tell me what this redirect will do? RewriteCond %{HTTP_HOST} ^(www\.)?website\.com/microsite$ RewriteRule ^(.*)$ http://subdomain.website.com/microsite/$1 [R=301,L] Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/292340-what-will-this-redirect-do/ Share on other sites More sharing options...
Ch0cu3r Posted November 7, 2014 Share Posted November 7, 2014 It will redirect urls such as www.website.com/microsite or website.com/microsite to http://subdomain.website.com/microsite permanently (thats what the R=301 stands for) Quote Link to comment https://forums.phpfreaks.com/topic/292340-what-will-this-redirect-do/#findComment-1496024 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.