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! 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) 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
Archived
This topic is now archived and is closed to further replies.