Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- 301 Redirect with non-"real" Subdomains


Watcher_of_the_Skies - 12:57 am on Aug 31, 2005 (gmt 0)


Hi Jim

Thanks for your response. For various reasons, I have always solicited external links, done internal links, and wished to show the sites in the format of:
htt*://subdomain.mysite.com/

I am only doing the redirect as I've found all of my listings (in Google) are starting to show up as URL's only, and after some reading, thought it a good idea to redirect those who search/enter/mistakently link to the "www version" of the site to the "non www version". In the course of doing this, I realized that as these subdomains were set up in the manner described, that it would probably be a good idea to redirect any attempted access through a subdirectory path, also. So, yes, I would like to redirect EVERY instance where either the reference contains www or where it contains a path in the format of a subdirectory.

Perhaps not the place for this, but you've prompted a question. When you say that "...they're "real" subdomains, all right." does that mean that for SE purposes they're treated most like
A.) a "real" subdomain
B.) a subdirectory
c.) different websites mimicking a virtual ip address type set-up (yikes!)

WOTS


Thread source:: http://www.webmasterworld.com/apache/4491.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com