400-665-9980 15920999917 (customer special line)

Subdomain and subdirectory, do you understand?

2017-01-26 Onlookers fever 4105 Common problem

Domain names and subdirectories seem to be two more abstract words. How much do you know about these two words when you contact a website? From past records, the time to use subdomains and subdirectories is almost equal. If you put your content in a subdirectory, the general rule is that all information is stored in the same space. This makes it easy to find / edit / change the code. At the same time, it is not difficult to move code from one place to another. However, a subdomain is often an alias for a domain name system (DNS). Sub domain settings may be a little difficult for novice Internet administrators, especially if "CNAME" does not mean anything to you. Sub domain names can be separately managed. It can be a good thing for you (if you want to transfer part of your website, you can use DNS to decouple from the sub domain name). It can also be a headache. (DNS's setup is quite troublesome, unlike using subdirectories, you can create or move directories using just a few commands). Take me as an example. When I started building my blog, I decided to use a subdirectory (mattcutts.com/blog/) simply to make things easier.

In recent years, Google has used a so-called "host crowding" algorithm, which means that each host name (hostname) or subdomain name of a domain name, Google shows at most two results. This method (running 1-2 results from a sub domain) has been running very well, but we have also received such a complaint: for some types of search (such as unfamiliar or long tail search), many of the results of a search page on Google may come from the same domain name. In the past few weeks, we have changed our algorithm so that this phenomenon will never happen again in the future.

This change will not completely change the results of some search results coming from the same domain name; if a domain name correlation is really strong, we may still return multiple results from that domain name. For example, if a search is [ibm], users may really like and want to see the results from ibm.com. Note that our algorithm changes are quite subtle and do not affect most of our searches. In fact, this change has been around for weeks, and no one has noticed it yet. ) the only reason I talked about this change on PubCon is that some people wanted to hear my views on subdomains and subdirectories.

I prefer subdomains to subdomains and subdirectories. This is because I tend to prefer subdirectories to most of my content. A sub domain can effectively separate completely different contents. For example, Google uses subdomain names for different products, such as news.google.com or maps.google.com. If you are a network administrator or a novice search engine optimization operator, I suggest you use subdirectories until you have enough confidence in your website structure. At this point, you will be able to have a better understanding of your website and make the right decision.



 WeChat scan code consultation WeChat scan code consultation
 WeChat consulting WeChat consulting