Forum Moderators: phranque

Message Too Old, No Replies

.htaccess rewrite

Internally rewrite subdomains to subdirectories

         

ragulka

9:11 am on Aug 26, 2009 (gmt 0)

10+ Year Member



Hi,
I have a site set up using Saurus CMS. On that site, I have actually created a mini sub-site. The site uses friendly urll (aiases) using htaccess, so that site.com/?id=10001 becomes site.com/gallery

What I want to do is to have gallery.site.com to redirect to site.com/gallery, but kind of blindly, because I want the visitor to still see gallery.site.com as the address in the address bar.

Can this be done?

jdMorgan

1:06 pm on Aug 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This search [google.com] should get you started.

Jim