How can I avoid duplicate content in ASP.NET MVC due to case-insensitive URLs and defaults?

前端 未结 7 1135
无人及你
无人及你 2020-12-24 03:22

Edit: Now I need to solve this problem for real, I did a little more investigation and came up with a number of things to reduce duplicat

7条回答
  •  隐瞒了意图╮
    2020-12-24 04:17

    I believe there is a better answer to this. If you put a canonical link in your page head like:

    
    

    Then google only shows the canonical page in their results and more importantly all of the google goodness goes to that page with no penalty.

提交回复
热议问题