forwarding domain, but not subdomain
thanks!
3 Replies
example.com = domain
photos.example.com = sub-domain of example.com
I'm sure what you're asking about could probably be done with URL Rewrite rules, but I'm not sure what those would look like.
@waldo:
That's not a sub-domain, that's a page within your domain.
example.com = domain
www.example.com = sub-domain of example.com (most people havewww.example.com and example.com point to the same place but they don't have to)photos.example.com = sub-domain of example.com
I'm sure what you're asking about could probably be done with URL Rewrite rules, but I'm not sure what those would look like.
Good points. Didn't know. Thanks - I'm learning as I go.
Or, you can put something in an .htaccess file. It would probably look like:
RewriteCond %{request_uri} /
RewriteRule ^(.*)$ http://destination/$1
But it's been a while since I've played with mod_rewrite, so I might be missing something there.