.htaccess change subdomain and subfolder to parameter
Posted: Mon May 25, 2009 4:04 am
I would like to have a .htaccess file that will passively redirect
subdomain.domain.com/folder (with or without a / at the end)
to
"http://www.domain.com/index.php?subdoma ... der=folder"
I would also like it leave it as it is when a file is requested.
Please help, I've seen similar stuff about but I think I just need it all spelling out for me... something in my head is about to pop...
subdomain.domain.com/folder (with or without a / at the end)
to
"http://www.domain.com/index.php?subdoma ... der=folder"
I would also like it leave it as it is when a file is requested.
Please help, I've seen similar stuff about but I think I just need it all spelling out for me... something in my head is about to pop...