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?