Robots.txt lowercase/uppercase

4 years ago
Hi,

Since Google handles urls in the Robots.txt as case sensitive we need to treat the urls on the page accordingly. In our shop we have received errors in the Google Search Console for the url ShoppingCart/ProductDetails_AttributeChange?productId=108&validateAttributeConditions=False even though the Robots.txt contains /shoppingcart/*.

Therefore we should change for example _ProductAttributes.cshtml row 290

from
url: '@Html.Raw(Url.Action("ProductDetails_AttributeChange", "ShoppingCart", new {productId = productId, validateAttributeConditions = attributesHaveConditions}))',


to
url: '@Html.Raw(Url.Action("ProductDetails_AttributeChange", "ShoppingCart", new {productId = productId, validateAttributeConditions = attributesHaveConditions}).ToLower())',


There are probably other better ways to fix this problem, this is just highlighting the problem.
Greetings
/Johan
4 years ago
Thanks a lot for reporting. It's already fixed in the upcoming version 3.80
4 years ago
a.m. wrote:
Thanks a lot for reporting. It's already fixed in the upcoming version 3.80


Great! Thx!