In webhost4life, anyone know how I can redirect the user when the they hit the root domain, i.e. gogo.com redirect to http://www.gogo.com
Thanks
-Mantisimo
I’ve found a configuration file in the root called httpd.ini
This contains the followig
[ISAPI_Rewrite]
### subdomain redirect v2 ###
RewriteCond Host: ?gogo\.com
RewriteCond URL ^gogo.com/(.*)
RewriteCond METHOD GET
RewriteRule .? www.gogo.com/(.*) /$1 [I,R]
RewriteCond Host: (?:.+\.)?gogo\.com
RewriteCond METHOD POST
RewriteRule ^/gogo.com/(.*) /$1 [I]
RewriteCond Host: (?:.+\.)?gogo\.com
RewriteRule (.*) /gogo.com/$1 [I,L]
Can someone explain how I can change this? I’ve found some code on mod_rewrite but this is iis. I dont have a great understadning of regular exressions so this is a bit of a black art to me
Can any help?
Thanks
I figured it out! 🙂
I just added this above replacing the domain 🙂
http://www.seoconsultants.com/windows/isapi/rules/