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. Quote Link to comment Share on other sites More sharing options...
Millar Posted September 10, 2006 Author Share Posted September 10, 2006 NVM I done it now. Quote Link to comment 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 ? Quote Link to comment 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.