This might help: http://www.easymodrewrite.com/example-subdomains They're turning http://pie.domain.com/page.html into http://www.domain.com/pie/page.html. -Erin http://www.zenpawn.com/chessblog --- In php-objects@xxxxxxxxxxxxxxx, Anees <anees_muhd@...> wrote: > > i need to redirect the subdomain part of a URL as one of the variable into a file > > ie > the link should be > www.subdomain.site.com/post.php?id=89 > > and it should go into > www.site.com/post.php?id=89&s=subdomain > > Please help > > Regards > Anees Muhammed > ___________