🔍 Understanding the Problem
When OTTO SEO is implemented through Google Tag Manager (GTM) rather than the WordPress plugin, you may not have direct access to the website's backend or server files. This means you cannot edit the robots.txt file or add meta tags directly to page templates. This article explains your available options for managing crawl directives in this scenario.
⚠️ Important Limitations to Know First
Before choosing a method, understand these key constraints:
- robots.txt requires server or hosting access. Without backend access, you cannot directly edit this file.
- JavaScript-injected noindex tags (via GTM) are not reliable. Search engine crawlers may not execute JavaScript before deciding whether to index a page, so injecting a noindex meta tag through GTM is not a recommended or dependable method.
- OTTO deployed via GTM does not control server-level directives such as X-Robots-Tag HTTP headers or robots.txt entries.
- robots.txt Disallow ≠ noindex. Disallowing a URL in robots.txt prevents crawling but does not remove an already-indexed page from search results. A
noindexmeta tag or X-Robots-Tag header is required for de-indexing.
✅ Recommended Options When You Lack Backend Access
Use one of the following approaches depending on what access you do have:
- Request access from the client's developer or hosting provider. This is the most reliable path. Ask the client to grant you access to edit the robots.txt file via their hosting control panel (e.g., cPanel, Kinsta, WP Engine dashboard) or ask their developer to implement the directives on your behalf.
- Use Google Search Console to manage indexing. If you have Google Search Console access for the property, you can use the URL Inspection tool to request removal of specific URLs. Note that this is a temporary fix (valid for approximately six months) and is not a substitute for a proper noindex directive.
- Ask the client to add an X-Robots-Tag HTTP header. This is a server-level solution that functions identically to a noindex meta tag. The client's developer or hosting provider can configure this in the server settings (e.g., Apache .htaccess or Nginx config) without requiring changes to individual page templates. This is the preferred technical alternative when robots.txt and meta tags are both inaccessible.
- Ask the client's developer to add a noindex meta tag to the page template. If GTM is already implemented, the developer clearly has some site access. Coordinate with them to add
<meta name="robots" content="noindex">directly inside the<head>of the relevant page templates. This is more reliable than injecting it through GTM.
🛠️ What OTTO Can and Cannot Do in GTM Mode
It is important to set accurate expectations with your client about OTTO's capabilities when deployed via GTM:
- OTTO via GTM can: Inject structured data, update meta titles and descriptions, and make on-page content optimisations that do not require server-level access.
- OTTO via GTM cannot: Edit robots.txt, set X-Robots-Tag HTTP headers, or reliably control indexing through JavaScript-injected meta tags.
- For full OTTO functionality — including robust robots directives management — the WordPress plugin installation is strongly recommended wherever possible.
📋 Steps to Coordinate With Your Client
- Identify which pages or sections need to be blocked from indexing.
- Determine what level of access is available: hosting panel, server config, CMS backend, or developer contact.
- Share the appropriate directive with whoever has access — either the robots.txt rule, the X-Robots-Tag header configuration, or the noindex meta tag snippet.
- After changes are implemented, verify them using the URL Inspection tool in Google Search Console or a third-party robots.txt tester.
- Monitor Search Atlas to confirm OTTO is no longer flagging those pages as indexable.
💡 Pro Tips
- Always confirm whether you are working on a subdomain — subdomains require their own separate robots.txt file. A robots.txt on the root domain does not automatically apply to subdomains.
- If the site has both HTTP and HTTPS versions or www and non-www variants, ensure the correct canonical version is covered by your directives. Robots.txt rules apply per protocol and per subdomain.
- After any robots.txt or noindex change, allow several days to weeks for Google to re-crawl and reflect the update in search results.
💬 Need Further Help?
If you need further assistance, open the chat widget in the bottom-right corner of the platform and type human teammate to be connected with a member of our team.
Additional Notes
To get the fastest resolution, have ready: project name and domain, OTTO implementation method, description of goal (noindex/robots.txt/removal), specific pages/URL patterns, current backend/CMS access level, and any error messages with timestamps.