Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sub-folders or sub-domains?

Tags:

I'm setting up a site for a client which has a few different sections of the site, dedicated to certain major functions, running off different apps. For example, a blog (running off WordPress), a forum (phpBB), a store, etc.

Because of all the different applications, my initial thought was to separate out the major pieces into separate sub-domains (www. = blog, forum., store., etc). In addition, setup separate SVN repo's for each, to handle future upgrades.

My question: is this a good or bad idea? Am I better off placing each of these in its own sub-folder of the "www" sub-domain?

I'm looking at ease-of-development, SVN repo setup, SEO implications, etc.

Much thanks. Jon

like image 248
jmccartie Avatar asked Jun 04 '09 21:06

jmccartie


People also ask

Which is better subdomain or subfolder?

Subdomains can provide organization and structure to your site if you have a lot of different, but important content to share. Subdirectories can be helpful for smaller websites that don't have a large variety of content.

Should you use sub domains?

Typically, subdomains are used if there is content that is distinct from the rest of the site. Subdomains are indicated by the section to the left of the root URL. For instance, blog.examplesite.com and shop.examplesite.com are subdomains of www.examplesite.com.

What is the meaning of sub domain?

A subdomain is a prefix added to a domain name to separate a section of your website. Site owners primarily use subdomains to manage extensive sections that require their own content hierarchy, such as online stores, blogs or support platforms. Subdomains function as a separate website from its domain.

Why is a subdirectory better than subdomain?

The subdirectory strategy concentrates your keywords onto a single domain while the subdomain strategy spreads your keywords across multiple distinct domains. In a word, the subdirectory strategy results in better root domain authority.


1 Answers

I'd use subfolders, for sure. I know there is a list of disadvantages, but the only one I can come up with right now is security certificates.

Most security certificates (used for https://) do NOT include subdomains, or are specific to the subdomain. If you plan on using SSL, or if you want to keep the site open to SSL, it's VERY expensive to purchase as many certificates as subdomains.

As far as SEO, as long as your URLs are well structured, you won't see a difference in my opinion. Case in point: stackoverflow.com.

like image 87
Andrew Dunkman Avatar answered Oct 12 '22 07:10

Andrew Dunkman