Need to change the subdomain URL structure from:
sub1.example.com
sub2.example.com
To:
www.example.com/sub1
www.example.com/sub2
Is there any module to do this in Drupal 7
If there is no other module in the text I need to rewrite the module for D7 version which is available in D6 in the below link. But before doing that I would like to confirm is there any modules ?
Below text is taken from the link:
Of course this could quite easily be achieved using a redirect / RewriteRule in an htaccess file – but in this case we wanted to to achieve the URL re-routing without actually using a redirect. In other words, the URL in the browser’s address bar should always show URLs like this