Cloud Nine Posted June 22, 2015 Share Posted June 22, 2015 (edited) Hello, In Google Webmaster tools, i see that i have more and more duplicate content on my category pages. I have 2 categories and i have duplicate content like this : 5-my-category /5-my-category?amp%25253B&p=2 /5-my-category?amp%25253B /5-my-category?amp%25253Bp=3 /5-my-category?amp%253B&p=2 Only categories are affected. Does anyone has noticed the same issue and have an idea where these strange parameters come from : amp amp% amp%25253B etc. I have plenty of these parameters so i guess it’s dynamic. It’s not only one wrong character added to a url somewhere on the site. I’ve checked the entire site, source code, sitemap, google, and i don’t know how Google finds these urls. What i’ve tried today : deactivate pagination and remove productsSortForm on category pages. Edited June 22, 2015 by Cloud Nine (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted September 9, 2015 Share Posted September 9, 2015 Same problem here, and we haven't yet figured out exactely what causes the problem.We are on PS 1.5.6.2.Some of these strange parameters are (examples) %2525252525252525253Bid_category amp%2525253Bn %2525252525253Bn amp%252525253Bn What we found out so far: Google crawls such URLs. It must be an URL encoding / decoding problem somewhere in prestashop. And yes - as far as we have check it. its only seen in the category pages. We suspect, it might be an issue in combination with the items per page URL parameter n or id_category. Why this? In google webmaster, almos all such URLS have also the parameter id_category set. As soon as we change the items per page from default to some other value, the URL gets not only the n parameter but also the id_category like this: ?id_category=67&n=20 Another heavy candidate in out opinion is the block layered module. So far this is a guess but all URLs shown in the google webmaster tools are URLs in which the blocklayered navigation is active. Any help or hint is appreciated. Cheers. Scully Link to comment Share on other sites More sharing options...
Scully Posted September 9, 2015 Share Posted September 9, 2015 another information for those who claim there is not problem with the %2525252525 URL encoding: use this simple google search: https://www.google.com/search?q=prestashop+25253Bn&ie=utf-8&oe=utf-8&gws_rd=cr&ei=n6LwVd2kG4n_UvXYhDA#q=prestashop+25253Bn&start=10 And you will find about 13'000 pages shown where these URL parameters have been crawled. Adding a 3rd 25 to the search strings, we find another 7'500 pages, with a 4th 25 (resulting in 252525253Bn) we find 6'700 pages. Since there are douzends of variations in length and exact notation, it might be well above 200'000 pages having this particular problem. I would say: It's time for the prestashop team to look into it. Link to comment Share on other sites More sharing options...
Scully Posted September 9, 2015 Share Posted September 9, 2015 And one last addition: having surfed on some pages found with the google seach results, it gave us the impression the blocklayered is not the culprit. On same pages we simply haven't seen this module. Link to comment Share on other sites More sharing options...
Scully Posted September 9, 2015 Share Posted September 9, 2015 OK, let us post one more google search with the simple keyword: amp%253Bn https://www.google.com/search?q=amp%25253Bn&ie=utf-8&oe=utf-8&gws_rd=cr&ei=bajwVausKou5afzQh_gN Bump: 220'000 pages found in 0,62 seconds Link to comment Share on other sites More sharing options...
Cloud Nine Posted September 15, 2015 Author Share Posted September 15, 2015 Hello, Yes, i’m sure there are a lot of websites which have this issue. It’s really interesting to have made this search on google. The partial solution is to add a canonical to the product page and category page in order to avoid duplicate content in Google Webmaster Tools. I’ve tested it and it works. Have you noticed that if you try to access an url with strange parameters inside your website, you are redirected to the correct url. But if you make the link on other website, prestashop doesn’t do the redirection (for example, make a link with strange parameter on a web site, this link open your shop, you will see that the redirection is not ok). Link to comment Share on other sites More sharing options...
zahiras Posted October 10, 2018 Share Posted October 10, 2018 (edited) Hello, I'm having the same problem in 2018 and Prestashop 1.60. Thousands of duplicate URL with the end "i?%2525253Fp=2" No one solved it? Edited October 10, 2018 by zahiras Wanted to remove webmaster URL (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted October 10, 2018 Share Posted October 10, 2018 It is a known bug (at least known to me). It is caused by the wrong handling of url string parameter escaping in the search function. I fixed that some two years ago but haven't the fix ready to dispatch. Link to comment Share on other sites More sharing options...
Cloud Nine Posted October 10, 2018 Author Share Posted October 10, 2018 3 hours ago, zahiras said: No one solved it? I've solved it by adding canonical url. Need some dev to do it. Can't remember exactly what I've done (my last post is 3 years old !!) but it worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now