homepage Welcome to WebmasterWorld Guest from 54.204.90.135
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Subdomain URL differences
Is there a difference in URLs?
burns83




msg:3450858
 3:30 pm on Sep 14, 2007 (gmt 0)

Hey guys,

I'm interested in creating a subdomain on my site. I was wondering if there's a difference between naming it "subdomain.website.com" and "website.com/subdomain."

Are they basically the same thing? Does the former quality sort of as a second site that can be submitted to directories (separate from the website.com domain)?

Any and all information you guys have is greatly appreciated! Thanks so much for your help... ahhh, I'm such a newbie :D

Shayna

 

tedster




msg:3451215
 8:59 pm on Sep 14, 2007 (gmt 0)

Hello Shayna, and welcome to the forums.

Only the address "subdomain.example.com" is a true subdomain. The address "example.com/subdomain" is a directory (or as some people say, subdirectory.) A server can be configured so the it points requests for the subdomain address to the content in a directory, and this can cause some confusion about naming - however, the two are different.

If the same content can be accessed directly with either form of address, it can create "duplicate" problems with search engine indexing, so it's good to be clear, choose just one form for your content, and permanently redirect (301 status) the other address to your prefered form of the url.

burns83




msg:3451220
 9:02 pm on Sep 14, 2007 (gmt 0)

Yeah, I did more research right after and realized the latter example wasn't a subdomain at all. My bad!

Thanks for the tip. I think I'll use the subdirectory since all the articles I've read basically state that people are easily confused... well, that they don't know if they should use "www" before the subdomain.

The less confusion, the better.

Thanks again!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved