URL结构:seo友好URL的最佳实践
什么是URL?
统一资源定位符(URL)是Dafa888casino在浏览器中输入访问网页的网址.
Dafa888casino在谷歌搜索结果中的URL示例
Web URL也被称为链接. Many people will click a link to access your website directly. 那么页面URL是什么有关系吗? 是的,它确实! 你的链接看起来像什么很重要.
什么是URL结构?
URL是互联网上的一个地址. 它由协议、域名和路径组成.
URL结构
The protocol is how the browser gets the information about that page, http://或http://(“s”代表安全).
The subdomain is the part of the domain that comes before the main “root” domain. 可以创建多个子域, 但它们本质上是不同的网站,所以你不想有很多子域名,除非你真的需要它们. Subdomains are created to organize content on your website. You can use any string of characters for a subdomain, not just www.
The domain name is the unique address where a website is located.
The top-level domain (TLD) is, for 例子, com, org, net, 和 there are 更多的!
The path refers to the exact location of a page, post or file.
URL结构可以是不同的
并不是所有的网站都使用相同的URL结构. 这是好的.
The URL structure of a website depends on the unique needs of the website.
例如, an international site’s URL will likely be structured for multiple languages or locations. URL structures for a blog website might differ from an eCommerce or a membership site. And a government website’s URL structure will likely differ from a social network.
这取决于网站的目的, URL结构会有所不同, 但是不管选择什么结构, basic best practices still apply to maintain a proper URL structure.
为什么URL结构对搜索引擎优化很重要?
url是对网站内容的组织. 它们是内容和用户之间的链接. URL结构之所以重要,主要有两个原因:
1. 用户体验
Great user experience is the most important factor when it comes to 搜索引擎优化.
通过使用 逻辑地址结构 与页面层次结构. Intuitively organized content makes your website easier to navigate for humans.
You want to make your website as easy to browse as possible, 这样人们就可以充满信心地浏览网站, 不混乱.
In addition to structuring your URLs with logical organization, use seo友好的url. url很简单, 容易阅读, 和 include keywords that describe the content on a web page are 搜索引擎优化-friendly.
例如, if you're searching for information about pancakes, a URL like http://en.维基百科.org维基/煎饼 会帮助你决定点击那个链接吗.
像http://www这样的URL.例子.com/索引.php?id_wca = 470&clcp27sap does not clearly explain what the destination page is about 和 is not friendly.
简单的url提供了最好的用户体验. 使用描述性关键字优化url,以便清楚地了解页面内容是关于什么的.
您希望优化您的url,因为它有助于搜索引擎向搜索者提供相关的结果, 和 so searchers know exactly what they’ll see if they click the link.
2. 网页排名
URL结构告诉谷歌网站的不同页面是关于什么以及它们之间的关系. Internal linking (links to pages within your site) helps with this 太.
当你为人们优化你的url时,你也让搜索引擎机器人更容易抓取和索引你的网站,为搜索者提供相关内容.
在谷歌中,url是一个排名因素.
这意味着优化的URL结构促进 谷歌网页排名(PR). 网页排名是谷歌衡量网页价值及其与搜索查询的相关性的方式.
根域通常拥有最多的网页排名,而在根页面中使用关键字可以提高你的排名, 你不希望只依赖URL关键字来排名. Avoid stuffing URLs with every keyword 和 only include what’s useful.
搜索引擎优化友好的url增加了链接被点击的可能性,这也可以提高你的网页排名.
After your site goes live 和 anytime you do page URL edits, (重新)提交您的网站地图在谷歌搜索控制台. 你想提交你的站点地图,搜索引擎立即抓取和索引你的页面,以保持SERPS(搜索引擎结果页面)与你的站点的最新.
12个url的搜索引擎优化最佳实践
1. 遵循良好的URL结构
URL hierarchy is essential to figure out before you start building your website.
绝对最好的URL结构没有固定的规则. And URLs can be different depending on the site's purpose.
但是一个 URL结构很简单, logical, easy to remember AND conveys meaning with the words used is considered the best.
使您的URL结构直观,以便用户和搜索引擎可以快速和容易地理解您站点上不同页面之间的连接. 一旦URL结构就位,为每个页面选择正确的URL关键字就相当简单了.
2. 使用HTTPS协议
HTTPS是HTTP协议的安全版本. 安全套接字层(SSL)对你的浏览器和网站之间的通信进行加密,所以即使黑客设法捕获数据, 他们看不懂.
HTTPS让你的网站更可信,因为它给用户灌输了信任——他们觉得用信用卡信息购物更安全.、地址和电话号码.
这个看起来很直接,但只是 69% 所有网站当前重定向到HTTPS.
I don’t know about you, but personally, I NEVER buy from a site that’s not secure. If your site is only HTTP, you're probably losing potential business from tech-savvy users.
HTTPS is also a Google ranking signal 和 prefers websites with SSL. 在Chrome浏览器中, the padlock icon in the URL bar indicates if that website has a secure connection or not. 单击图标以获得有关连接的更多详细信息.
3. 隐藏www前缀
The www prefix used to prevent confusion because it’s very obvious that meant a website domain. 但是现在没有必要把它包括进去了.
如果你把它包括进去, 它看起来过时的, takes longer to type 和 takes up more space in the address bar. 事实上, Chrome浏览器将WWW和HTTPS://隐藏在地址栏中,因为这些信息并不是很重要,因为它们有安全锁图标指示器. If you want to see it, just double click inside the address bar, it’s still there.
隐藏www前缀 to make your domain “naked” 和 cleaner. 将www版本重定向到裸域.
4. 编辑相关的页面URL
When you publish a page on your site it should have a clear purpose. Don’t use r和omly generated numbers that are confusing 和 don’t have any relevance.
Customize your website’s page URLs to be descriptive of the content within the page. This improves your user experience 和 can increase click-thru rates.
5. 保持简短
大多数URL自动使用页面或文章标题作为默认URL,但有时标题可能是一个不必要的长字符串的URL. URL越短,URL越短 等级高 太.
6. 使用有意义的关键字
在你的URL中使用1-2个相关的关键字,告诉谷歌页面应该在搜索结果中显示什么. Don’t stuff your URL with more than that because it can come across as spam. 在页面或文章的标题中使用关键字.
In addition to the URL, you also want to add these keywords into your page 元数据描述 因为谷歌在搜索结果中将这些单词加粗,这让你的页面更加突出.
7. 用连字符来分隔单词
url不使用空格分隔单词. 也不要使用下划线.
搜索引擎优化最佳实践是在单词之间使用连字符,因为这告诉谷歌和用户单词之间的断点在哪里,它们比一个单词拼在一起更容易阅读.
Here’s an 例子 of the difference hyphens makes: 设计功率.com/blog/urlstructureseobestpractices 设计功率.com/blog/url-structure-seo-best-practices
8. 消除停止的话
停止单词(the, 和, or, of, a, an, to, for等.)不需要在你的URL. Remove these words from your URL to make it shorter 和 more readable. 你可以在这篇文章的URL中看到,我删除了“for”这个词,因为它更短,更容易阅读和记忆.
9. 使用小写字母
URLs are case sensitive for everything after the domain name. 这意味着DesignPowers.Com仍然会带你去设计.com,但设计功率.com/Contact will take you to a 404 page instead of our contact page.
总是使用小写字母作为你的url,如果你碰巧使用了大写字母,那么更新你的链接,并重定向到新的.
Squarespace自动默认使用小写,所以如果这是你的网站平台,你不必担心大小写问题.
10. 旧的url重定向
随着时间的推移,你很可能会对你的网站进行更改,你可能会选择一个URL结构,然后决定在以后更改它以提高可用性. In this case, it’s best practice 和 recommended to add permanent redirects.
Redirects ensure there are no broken links for people 和 bots.
每当你编辑或更改一个URL时,添加一个301重定向,这样如果有人点击旧的URL,他们将自动被带到新的URL,而不会看到一个损坏的404错误页面.
However, avoid 太 many redirects because they can slow down your site. 一个或两个重定向是可以的,但最好的做法是使页面在没有任何重定向循环的情况下可访问. 这就是为什么在你的网站开始的时候选择一个好的URL结构是如此重要——避免重定向!
11. 删除博客文章的日期
删除博客文章URL的日期可以保持内容与搜索者的相关性,因为人们总是想要最新的内容. 没有日期的url可以提高搜索引擎的点击率,并有助于多年的内容排名.
除非这篇文章涉及特定的事件或日子, 没有必要用日期来格式化你的帖子, 这样做甚至会导致点击率下降,因为人们更不愿意阅读2013年的过时文章,而不是当前的文章.
它还允许长青的内容,所以你可以回去用新内容更新高性能的帖子, 然后重新发布新的日期, 而不必重定向旧的URL. Refreshing 和 republishing old content is a strong 搜索引擎优化 strategy.
But overall, it’s best to remove the post date for a good user experience! Not including the postdate makes the URL easier to navigate for users.
例如, with the postdate (it’s always 11 character’s longer):
vetcare.com/blog/2018/10/18/obesity-in-our-pets-an-ounce-of-prevention-is-worth-a-pound-of-cure -附上日期及职位名称.
vetcare.com/blog/pet-obesity-prevention -没有更新日期和简化的URL,关键字仍然解释了帖子内容是关于(这是你想要的!).
12. 拼写数字(有时)
数字可能会造成一些混乱,但并不总是如此.
If your business name has a number in it 和 in the root domain, take precautions 和 also purchase the spelled-out version of the domain name.
然后将其重定向到主域. 这种方式, 如果有人感到困惑或只是不知道拼写,他们将保证最终出现在您的站点上.
例如,seveneleven.Com重定向到他们的域名http://www.7 - 11.com
For all numbers after the root domain, try to avoid using them altogether. 想想人们是怎么写的. 当你在网上搜索东西时, 4很容易被混淆,用来代替“for”或2代替“to”,所以最好避免混淆.
很明显, 如果有问题的数字是一年或具体日期, 使用数字,不要拼出来. 大多数时候, 数字越长, 就越有可能是真实的数字,比如47, 而不是拼出47. 你们明白了吧.
在URL中使用数字取决于具体情况. 只是要确保权衡这些因素,决定是否将其包括或排除是最好的,并清楚地说明它们.
seo友好的url
URLs are the building blocks of your website 和 when optimized, 可以帮助增加你的网站流量吗. Clean URLs perform better in search, appear more trustworthy, 和 make it easier to share.
I hope these best practices help you with your website URLs. Let me know if you have any questions in the comments below. 需要帮助与您的网站? Dafa888casino 让Dafa888casino聊天.
*所有gif通过Giphy
在你的收件箱里找到博客文章