Should a backslash be used at the end of the Web site URL URLs

Source: Internet
Author: User

When SEO optimization of the site, will inevitably encounter because of the URL caused by repeated page problems, one of the more common phenomenon is due to the page address after the addition of the backslash caused by, for example, as follows:

Link a:www.example.com/abc/

Link B:WWW.EXAMPLE.COM/ABC

The only difference between the above two links is the end of the backslash, the corresponding content of the same, from the perspective of ordinary users, such a link is actually a, and from the search engine, different URL address corresponds to the same content, then it is easy to be judged as duplicate content, which is the most we are not willing to see in the optimization phenomenon.

So should the Web site be URL-optimized, should you keep the backslash behind the URL?

First, to understand the difference between a Web site using backslashes and not using backslashes?

When the URL is not a slash point to a file under the Site directory, and the addition of a backslash refers to a directory, that is, the difference between the directory and the file.

Second, what are the benefits of adding backslashes to URLs?

The Web site uses a backslash to speed up the site loading time, mainly because the URL does not add a backslash will give the server to find out if there is a file with the same name. The principle is as follows: Adding a backslash at the end of the URL tells the browser that it is now pointing to a directory and reads the default file directly from that directory. Instead of a backslash, the browser first attempts to read a file under the root directory, and if it does not find a directory with the same name as the file, it finally reads the default file under the directory.

When we have clarified the benefits of adding backslashes to site optimization, Danone provides the following URL normalization SEO methods for reference:

1, the unified station all the connection entrance, avoids inside the station to appear two kinds of link.

2, the URL without the backslash 301 redirect configuration, (if the Apache server, in the. htaccess configuration) Here refers to the attention is when the search engine spider access to the page without backslashes, then the use of 301 may slightly affect the page loading speed.

3, because Baidu recently disclosed the support of the canonical tag, you can also add the canonical tag on the page without the backslash, prompting the search engine only authoritative version link.

4, when the user freely spread the site link, the URL of the normative may be difficult to be guaranteed, this time if the webmaster is reluctant to because 301 delay page loading, recommend to go to Webmaster tools, to see the most out of the chain of the page address is a specification, according to the specific link situation configuration site URL presentation form.


Should a backslash be used at the end of the Web site URL URLs

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.