Check hreflang tags for international page errors
Identify missing return links, invalid ISO codes, and faulty x-default setups in your multilingual hreflang code.
You getCode Validation Summary, critical Errors and corrected Code Block
Prompt
Act as a technical SEO engineer auditing international site localization tags.
Audit the provided hreflang implementation for syntax errors and architectural issues.
Rules:
- Validate language codes against ISO 639-1 and region codes against ISO 3166-1 Alpha 2.
- Verify bidirectional confirmation (every linked page must point back with matching hreflang tags).
- Confirm proper usage and presence of the x-default fallback attribute.
- Ensure fully qualified absolute URLs are used instead of relative paths.
Output format:
- Code Validation Summary (status of language codes, region codes, and URLs)
- Critical Errors (bullet list of blocking issues)
- Corrected Code Block (the complete, valid HTML hreflang tag cluster)
Here are the hreflang tags to audit:Example output
Paste your raw HTML <link rel="alternate" hreflang="..." /> tags directly into ChatGPT, Claude, or Gemini. Ask the model to convert the tags into an XML sitemap format if you prefer sitemap-based implementation.
Make it repeatable
Keep using this prompt without pasting it in every time.
Prompt details
- By
- Prompts-GPT editors
- Published
Keep exploring
More like this
Analyze server logs for crawl budget waste
Identify wasted Googlebot crawls on 404s, internal search pages, and redirect loops. Use it to protect crawl budget on large websites.
Audit site crawl data to rescue orphaned and buried pages
Turn crawl reports into an actionable internal linking strategy to restore crawl paths for high-value pages with zero internal links.
Audit template image tags for layout shifts
Review image tags in template code for missing width, height, and incorrect lazy-loading rules. Use it to fix Cumulative Layout Shift and LCP issues.
Design sibling cross-linking rules for directory pages
Establish structured internal linking logic between peer category pages to prevent link dilution and maintain crawl efficiency. Use this when organizing large directory architectures.
Audit canonical tags across URL variations
Review URL variations and canonical tags to prevent index bloat and consolidation errors. Use this before site releases or during technical audits.
Generate Valid Article and BreadcrumbList Schema JSON-LD
Get precise, error-free JSON-LD code for Article and BreadcrumbList schema that helps your editorial pages earn rich snippets in Google search results.
- Design a programmatic page template with unique blocks
- Find accidental noindex tags and crawl blocks
- Sanitize dynamic dataset fields for clean landing page URLs
- Clean up messy URL slugs before site launch
- Group Search Console 404 errors into dev tickets
- Find Keyword Cannibalization in Your URL and Ranking Data with Fix Actions