Differences between absolute and relative seo optimization paths

Source: Internet
Author: User

The relative path has the following advantages:

1. Easy to move content

2. Easy to test

Disadvantages

1. When the page location changes, the link is prone to failure.

2. More likely to be copied and collected

Advantages of absolute path URL:

1. If someone collects your website, the link will also point to your website

2. Even if you move the webpage location, the link in it still points to the correct URL disadvantage, and the program is not conducive to testing, because the above links are all absolute links, and you can test them by putting them on the server.

Many people think that the absolute path is superior to the relative path in SEO. In fact, this is not the case, but from the SEO perspective, the two paths are exactly the same in the eyes of search engines, when a spider analyzes all the URLs of a page

1. Delete unnecessary links

2. Get useful links

Useful links include absolute and relative paths. The processing method is as follows:

1. Directly obtain the absolute link

2. For example, convert the "/c.html" link to a domain name +/c.html to get

3. For example, convert the link of “c.html to get it from +c.html.

4. Some links such as "../cat.html" are also processed.

From the search engine perspective, all these links are the same, and they are a complete link to their database. In addition, link conversion is a necessary basic function of the spider and will not cause any problems to the spider, from the perspective of SEO, the two paths are exactly the same in the eyes of search engines.

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.