Millar Posted September 10, 2006 Share Posted September 10, 2006 I wan't a 301 redirect from blog.mydomain.com/anything to mydomain.com/Blog/anything. What code should I use in my .htaccess to do this.Thx in advanced,Millar. Link to comment https://forums.phpfreaks.com/topic/20279-take-from-subdomain-to-directory/ Share on other sites More sharing options...
Millar Posted September 10, 2006 Author Share Posted September 10, 2006 NVM I done it now. Link to comment https://forums.phpfreaks.com/topic/20279-take-from-subdomain-to-directory/#findComment-89530 Share on other sites More sharing options...
vivek Posted September 21, 2006 Share Posted September 21, 2006 Same question with meI want to know that how can it possible to make a dynamic subdomain using .htaccess file and mod_rewrite ?My idea is,I want to redirect http://subdomain.mydomain.com to http://mydomain.com/redirect.php?id=subdomainHow can this possible in apache's mod rewrite ? Link to comment https://forums.phpfreaks.com/topic/20279-take-from-subdomain-to-directory/#findComment-95889 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.