Jump to content


Photo

Take from subdomain to directory.


  • Please log in to reply
2 replies to this topic

#1 Millar

Millar
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts
  • LocationSouthampton, UK.

Posted 10 September 2006 - 09:49 AM

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.

#2 Millar

Millar
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts
  • LocationSouthampton, UK.

Posted 10 September 2006 - 09:22 PM

NVM I done it now.

#3 vivek

vivek
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 21 September 2006 - 06:53 AM

Same question with me


I 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/...hp?id=subdomain


How can this possible in apache's mod rewrite ?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users