Use rewrite to create virtual sub-domains ?

New to mod_rewrite? This is a good place to start.

Use rewrite to create virtual sub-domains ?

Postby krekki » Wed Jan 04, 2012 12:24 am

Hi,

Can I use mod rewrite to create virtual sub-domains ?

What I mean is, if someone comes to my site
with fish.example.com

can modrewrite redirect them to:
example.com/store/search.php?prod=fish

There are no sub domains on example.com
krekki
 
Posts: 60
Joined: Sat Aug 19, 2006 11:47 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 9 guests

cron