Forum Moderators: Robert Charlton & goodroi
The whole of api.sitename.com has now been indexed which just should not be.
We apparently can't have a different robots.txt in the www and api subdomain as the files all must be identical.Say what now? You not only can, you have to have a different robots.txt for each valid hostname, including subdomains, because they will be separately requested. It is possible that www.example.com/robots.txt and api.example.com/robots.txt both serve the same physical file, whether because of the site's directory structure or some behind-the-scenes rewriting. But it’s nonsense to say they “must be” identical. Is this your CTO’s way of saying “I don’t know how to do it so I’ll tell the boss it can’t be done”?
<meta name="referrer" content="origin"> to enable tracking "https: --> http: " traffic source/referrers. That is the only place I know of where "origin" was ever discussed for meta tags. It was not an effective method because it only included the 'origin' domain, no page or full URLs. It was not related to canonicals in any way. I vaguely recalled it and had to look it up: [moz.com...]