Maybe MVC should not rewrite the URL format?

Source: Internet
Author: User

 

I read this article from the Google blackboardArticle: Dynamic and Static websites

Clarifying dynamic URLs not only makes indexing and ranking difficult, But robots can analyze information through better parameters, such as a regular URL:

Www.example.com/article/bin/answer.foo? Language = EN & Answer = 3 & SID = 98971298178906 & query = URL

However, it is not recommended to rewrite the data in the following format:

  • Www.example.com/article/bin/answer.foo/en/3/98971298178906/url
  • Www.example.com/article/bin/answer.foo/language#en/answer%3/ SID = 98971298178906/query = URL
  • Www.example.com/article/bin/answer.foo/language/en/answer/3/sid/ 98971298178906/query/URL
  • Www.example.com/article/bin/answer.foo/en,3,98971298178906,url

The reason is that the robot will think that each URL is an independent page in a physical path. After capturing your website, the robot will think that there is a huge amount of duplicate content in your website, this affects the ranking order of your pages.

After reading it, I should remind my friends who have used MVC. The rewrite of MVC is intended for users to read and enter URL paths more easily, but it will cause headaches for machine reading, man and machine cannot work together

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.