Summarize several experiences on URL optimization.
1 Choice of domain name
If it is two years ago, I will tell you that the domain name is best to put the keyword. But now it is recommended that the domain name can be put the best keywords, but not to put keywords to the domain name for a very long, not to put the keyword, register with a conjunction character domain name.
One more step, in order to let the domain name see clearly, you can put a conjunction character, put up to two, but not to accumulate keywords. If the domain name with the keyword is not easy to find, choose an easily branded short obscure words, or newly coined words.
2 Descriptive
The entire URL includes domain names, directory names, and file names, where possible, with descriptive words, especially directory names and file names. Let the user see the URL, you can roughly understand what this page is.
3 keywords in the URL
Where possible, the directory name file name can be put on some keywords. In one of his posts, Matt Cutts has hinted that the keyword in the URL is more or less useful to search engine algorithms.
4 URL must not be too long
Although you can consider to put keywords in the URL, but it is best not to put the keyword, and the directory name file name for a long time.
5) using a conjunction character
The name of the directory name in the URL is better to use a hyphen-, do not underline _, and do not use other allowed but very strange characters. The conjunctions are treated as spaces.
6 English words and pinyin
For English web sites, of course, the URL of the descriptive keyword is better to write. For Chinese websites, you can consider using Pinyin. But for longer words, pinyin is not easy to read, in this case, or suggest the use of English words.
Others put the name of the directory name inside the Chinese word, or sometimes there are spaces, such URLs appear in the browser address bar, will become some coded characters. Although search engines can be identified, but look ugly, not recommended.
7 URL Static
This is almost necessary. Don't be serious, don't argue that a lot of URLs with one or two question marks are included well. To do better is also very simple, do not go with the bad.
8) Level two domain name and directory
Level two domain name in the Chinese site seems very popular, and now the level two domain name in Google has a lot of junk content, Google has no good way to this.
However, I personally recommend the use of the directory, unless there is a special need, it is best not to use the level two domain name.
9 case
It is best to unify all lowercase letters in the URL, like UNIX server case letters are handled differently, meaning that index.html and index.html are treated as two different files. If the first page under a directory is index.html, there will be an error accessing the directory. In other cases, case mixing is often confusing.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.