HTACCESS: *.subdomain.domain.tld redir to subdomain.domain.tld/*

Posted by VeeBee on Stack Overflow See other posts from Stack Overflow or by VeeBee
Published on 2010-06-17T08:11:16Z Indexed on 2010/06/17 8:13 UTC
Read the original article Hit count: 391

Filed under:
|
|

Hi guys, sorry for the vague question title.

But anyways,

I have here a subdomain which i wish to pass on wildcard sub-subdomains and make a proper htaccess redirect to a sub-folder (relative to the server root) equivalent to the wildcard value such that

*.subdomain.domain.tld will redirect to subdomain.domain.tld/*

where * = wildcard value

I hope you get my question. Can someone shed some light on this? I would appreciate it very much =)

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about redirect