By:rand Fishkin
Original link: https://moz.com/blog/15-seo-best-practices-for-structuring-urls
#1: Whenever possible, use a single domain & subdomain
1. Try to use a simple domain name/two level domain name
Two-level domain name, sub-folder, 301 jump comparison: Subdomains vs. subfolders, Rel Canonical vs. 301, and how to Structure Links for Seo-whiteboard Friday
#2:
the more readable by human beings, the better
2. The better the readability, the better
Comparison: Https://moz.com/blog/15-seo-best-practices-for-structuring-urls
https://moz.com/blog/110001.php
#3:
Keywords in Urls:still a good thing
3. Key fonts are now in the URL
#4: Multiple URLs serving the same content? Canonicalize ' em!
4. Multiple pages provide the same content? Normalize them! (a bit difficult to understand)
#5: Exclude Dynamic parameters when possible
5. Try to exclude dynamic parameters (personal understanding and 2nd similar)
#6:
shorter > Longer
6. Short links are more readable.
#7: Match URLs to titles most of the time (when it makes sense)
7.URL and page title tags as far as possible to keep consistent.
#8: including stop words isn ' t necessary
8. Connection character (stop words (and, or, but, of, the, A, etc) ) is not required.
#9: Remove/control for unwieldy punctuation characters
9. Remove/control hard-to-handle (unsafe) punctuation
Classification |
Included characters |
Encoding required? |
Safe characters |
alphanumerics [0-9a-za-z] , special Characters $-_.+!* ' () , and reserved characters used for their reserved purposes (e.g., question mark used to denote a query s Tring) |
no |
ASCII Control characters |
includes the Iso-8859-1 (is O-latin) character Ranges 00-1f hex (0-31 decimal) and 7F (127 decimal.) |
yes |
non-ascii characters |
includes the entire "top half" of the Iso-latin set 80-ff hex (128-255 decimal. |
yes |
Reserved characters |
$ & +,/:; =? @ (not including Blank space) |
yes* |
Unsafe characters |
inclu Des the Blank/empty space and < > #% {} | \ ^ ~ [] ' |
yes |
* note:reserved characters only need encoding if not used for their defined, Reserved purposes.
Table data from: https://perishablepress.com/stop-using-unsafe-characters-in-urls/
#10: Limit redirection hops to or fewer
10. Reduce REDIRECT Jumps
If the client requests a, actually redirects B, or redirects C again, the client can get C, but the search engine does not record the rank of the C page
#11: Fewer folders is generally better
11. Reducing sub-Files
#12: Avoid hashes in URLs that create Separate/unique content
12: Try to avoid using URLs #创建单独的url/unique content
#常用于追踪参数 e.g. Someone.com/first-page#src=weibo
There are exceptions, see the original link
#13: Was wary of case sensitivity
13. Note Case
The URL is case-sensitive and is as lowercase as possible.
#14: Hyphens and underscores are preferred word separators
14. Dashes and underscores are preferred word separators
A long time ago, search engines only put dashes as separators, now conquered, dashes and underscores are preferred separators
#15: Keyword stuffing and repetition is pointless and make your site look spammy
Duplicate keywords do not improve page Ranking.
SEO notes: 15 SEO Best Practices for building URLs