The SEO agency in charge of my client's website has unearthed a significant duplication issue due to which the business may get penalized.
We have setup the expressionengine cms at
secretcmsurl.domain.com and somehow google has managed to index all CMS related urls which are obviously the same as the main websites. We now need to un-index these cms urls.
When I suggested that we add no-follow robots.txt entries, the agency said that it would reflect on the main website as well.
How do I now add a
<meta name="robots" content="noindex, nofollow"> meta tag only to the backend cms templates? Do I write a plugin? If so, what kind of plugin?