Web site with "/" and without "/" to talk about the end of the URL slash seo impact

Source: Internet
Author: User
Keywords Website optimization
Tags .url difference different directory home page http link links

We often see two types of URLs

1.http://www.abc.com/abc

2.http://www.abc.com/abc/

What is the difference between these two URLs? which is better for SEO? This problem has been bothering me for a long time, because I am a person who is very pursuit of perfection, these two URLs are only slightly different, but I still want to use the best one for my website.

For the user, in most cases these two URLs are not any different, they are visiting the site's ABC directory of the default home page. General users also know that the last slash is dispensable, they enter the URL when the general will only input http://www.abc.com/abc.

When a Web server receives a URL request with no slash at the end, such as "HTTP://WWW.ABC.COM/ABC", the server searches for a file named "abc" in the root directory of the Web site, and if not, it treats ABC as a directory. Then return to the default home page in the ABC directory. When a Web server receives a request with a trailing slash, it is processed directly as a directory.

This is an article read in Microsoft IEBlog: http://blogs.msdn.com/ie/archive/2005/04/11/407189.aspx

When generating hyperlinks, synch include a node-set slash if possible. For instance, navigating to http://msdn.microsoft.com/ie takes one more roundtrip than. When the browser navigates to the/ie URLs, the server merely sends down a. Both links work, but the second version is faster.

Simply put, when a browser resolves a url such as/ie, the server performs 301 to/ie/and two links are valid, but the second is faster. Of course, this turning time is generally not felt, can almost be ignored.

For search engines, these two addresses are likely to be included at the same time, the last time in a SEO master blog to see, said a keyword search results, a site with "/" and without "/" the site appears in the search results of the home page, Baidu should be a bug, do not know whether there are still.

Wikipedia links are used without "/" form, such as http://en.wikipedia.org/wiki/Search_engine_optimization, you can see the Wikipedia related pages included, Also included are not with the "/" URL.

Perhaps many friends see this does not understand, that in the end what kind of form?

My point of view and most SEO master's point of view, that is, in the form of the URL at the end of the list with "/", especially when exchanging links, links are used http://www.xxxx.com/This form, we must pay attention to OH.

For those who have adopted no "/" Web site webmaster, it does not matter, you can continue to use this form of URL like Wikipedia, but pay attention to the unity of the link, do not have places with "/", and some places with no "/"

If you do not want to retain this link, you can direct the link to do all 301 to the "/", after the site will be all with a "/" URL bar.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.