: Dealing with Google spidering JavaScript incorrectly Google spiders JavaScript now to look for possible URLs. This is mostly a good thing, but occasionally it gets it wrong. Is there any way
Google spiders JavaScript now to look for possible URLs. This is mostly a good thing, but occasionally it gets it wrong. Is there any way to hide possible URLs in JavaScript from googlebot?
For example, I have some code like this:
var url = "/some/object/--ct_id--/".replace('--ct_id--', content_id);
Regular users end up going to the correct URLs because the --ct_id-- is replaced with an integer. Google seems to be trying to spider "/some/object/--ct_id--/" which isn't a valid link.
Does anyone know what triggers the URL detection? Should I change the variable name? Should I escape the slashes with unicode notation?
More posts by @Dunderdale272
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.