Pecatum Posted June 14, 2017 Share Posted June 14, 2017 (edited) [Forgot to say I'm using PS 1.6] Hi all, I have an strange problem (at least for me). Google Search Console and SEM Rush are reporting some 404 errors in my site, all related to the CMS content (Legal Notice, Terms of Use, etc.). Just an example: URL not found: https://www.pecatum.com/en/winery/content/3-terms-of-use Linked from: https://www.pecatum.com/en/winery/281-artadi-vinas-de-gain-2015-red-wine-75cl.html If I call the first URL, of course I get a 404 error (correct URL is: https://www.pecatum.com/en/content/3-terms-of-use). The problem is, if I call the second URL and examine the code source, I cannot find any "https://www.pecatum.com/en/winery/content/3-terms-of-use". But I do find the correct link: "https://www.pecatum.com/en/content/3-terms-of-use". I didn't change the links format in Preferences > SEO & URLs. I guess it's somehow related to .htaccess / robots.txt / sitemap, but I cannot find the reason. I know I can write some redirections and solve this, but I prefer to know the origin of the error and thus a "smart" solution. BTW, I had the same problem with the Wordpress blog installed (via Inveostore Theme Provider) in /blog subfolder. In the beginning I thought it was just a problem with Wordpress, and made redirections with Redirection plugin for WP. But then these other errors in Prestashop appeared, so I'm not sure about anything. Thanks in advance! https://www.pecatum.com Edited June 29, 2017 by Pecatum (see edit history) Link to comment Share on other sites More sharing options...
Pecatum Posted June 26, 2017 Author Share Posted June 26, 2017 I've moved this topic here: https://www.prestashop.com/forums/topic/615625-unseen-broken-links-404-reported-by-google-and-sem-rush-in-cms-content/ I think it's in a more appropriate category Link to comment Share on other sites More sharing options...
Pecatum Posted June 29, 2017 Author Share Posted June 29, 2017 Though I already posted the solution in the other post, I post it here too, just in case... https://www.prestashop.com/forums/topic/615625-unseen-broken-links-404-reported-by-google-and-sem-rush-in-cms-content/?p=2577560 Hi Scully, Yes, that was the problem, the relative paths. I just was upset that I didn't find the place where that relative URL was called from. But yesterday I finally found the problem. It was the UE Cookie module. Of course, in my computer I didn't find the calling URL because the cookies were accepted by me already. But Google bots and other crawlers, DID see the UE Cookie text and the relative link, thus reporting the error. I then checked the UE Cookie configuration and, well, I was entering an absolute path, not a relative one!!! Tiny MCE Editor was converting the absolute path in a relative one. Solution: In file httpdocs / js / tiny_mce / tinymce.min.js, I put this: convert_urls:true,relative_urls:false,remove_script_host:false, That way, if I enter an absolute path in Tiny MCE Editor, it REMAINS absolute and is not converted to relative. Thank you Scully for your answer. And thank you also Vekia and NemoPS, I was watching some of the information and tutorials by them (sorry I can't find links now) and they were really useful for me. Hope this can be useful for someone. I mark this as solved. www.pecatum.com 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