What is the difference between a trailing slash and a slash after a URL?

Source: Internet
Author: User
What is the difference between a slash and a trailing slash behind a URL?
Publisher: Wuhan Xin Ling seo Service Company Date: 2015-8-3 13:10:03 Source: http://www.lrhold.com/

I do not know whether you have carefully observed that some URLs end with a slash, and some URLs are not followed by a slash. At present, Wuhan SEO contact site More or less there is such a problem, and sometimes in order to do the optimization with a slash or without a slash link and tangled. So what's the difference between them?

In the browser input http://www.lrhold.com and then enter, you can see the address bar automatically added after the URL/, you can think that the search engine spider Crawl is a Web site with a slash, a site of the home page is pointing to a directory, not a Web page.

When we are editing the article, if there is an anchor text in the site of Wuhan website optimization, hyperlink for Wuhan website optimization and no home plus slash, then we can click on the browser to observe the status bar, the URL in the back by default added a slash, and click on this link to open the URL with a slash. The situation is the same as above.

Also, depending on the link form, LRHOLD/ABC represents the ABC file under the root directory, and domain/abc/refers to the default file under the ABC directory. When spiders crawl lrhold.com/abc, the first is to go to the root directory to read the ABC file, the ABC file can not be found automatically after the root directory under the ABC directory to read the default file, and when the spider climbed lrhold.com/abc/, the first is to the root eye Recorded in the ABC directory directly read the default file in this directory, under the same resources, can save read time, SEO optimization is very necessary.

URLs with slashes and no slashes are different because they are two distinct concepts. Without a slash is a Web page, with a slash is a directory. It is necessary to bring a slash behind the URL when exchanging links or outside the chain. For SEO optimization, links with slashes are necessary.



Reprinted from: http://www.lrhold.com/news/505.html

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.