3. Canonical URLs: The Most Common SEO Mistake
Canonical tags tell Google which version of a page is the “real” one. This is the single most common technical SEO mistake we see.
<link rel="canonical" href="https://yourdomain.com/tools/json-formatter" />
What goes wrong:
- Missing canonicals: Pages without canonical tags let Google choose which version to index. Google often chooses wrong.
- Inherited canonicals: In Next.js, setting a canonical in the root layout causes ALL child pages to inherit it. If your layout says
canonical: https://yourdomain.com, every tool page, blog post, and product page tells Google it’s a duplicate of the homepage. This is exactly the bug that causes the GSC error “Alternative page with proper canonical tag.”
- Query parameter duplicates:
/browse?search=react and /browse are different URLs with the same content. Without a canonical pointing to /browse, Google sees duplicates.
The fix: set explicit canonical URLs on every page, and remove any canonical from the root layout:
// CORRECT: Each page sets its own canonical
export const metadata = {
alternates: {
canonical: ‘https://yourdomain.com/tools/json-formatter’
}
}
// WRONG: Root layout setting a global canonical
// This causes EVERY child page to claim it’s the homepage
Use our free meta tags previewer to check how your pages appear to search engines and verify canonical tags are correct.
4. Open Graph Tags: Social Sharing
Open Graph (OG) tags control how your page looks when shared on social media, Slack, Discord, and messaging apps.
<meta property="og:title" content="Free JSON Formatter" />
<meta property="og:description" content="Validate and beautify JSON online" />
<meta property="og:image" content="https://yourdomain.com/api/og?title=JSON+Formatter" />
<meta property="og:url" content="https://yourdomain.com/tools/json-formatter" />
<meta property="og:type" content="website" />
The critical tag is og:image. Pages shared without an OG image get 2-3x fewer clicks than pages with one. Use a dynamic OG image generator (Next.js has built-in support via opengraph-image.tsx) to create unique images per page without manual design work.
5. Robots Directives: Control What Gets Indexed
The robots meta tag and robots.txt file control what Google can and cannot index:
<!-- Allow indexing (default) -->
<meta name="robots" content="index, follow" />
<!-- Block indexing (for admin pages, auth pages) -->
<meta name="robots" content="noindex, nofollow" />
Key patterns:
- Block
/api/, /account/, /auth/, /admin/ in robots.txt
- Block query parameter variants:
/*?utm_, /*?fbclid=, /*?ref=
- Block old redirect URLs that still get crawled
- Never accidentally
noindex your important pages (check with GSC)
6. Structured Data (JSON-LD): Rich Results
Structured data enables rich results in Google: star ratings, FAQ accordions, breadcrumbs, product prices, and more. JSON-LD is the recommended format:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "JSON Formatter",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Web Browser",
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" }
}
</script>
High-impact schema types for developer tools sites:
- SoftwareApplication: For tool pages (enables rich snippets)
- FAQPage: For pages with Q&A sections (enables FAQ rich results)
- BreadcrumbList: For navigation hierarchy (improves CTR with breadcrumbs in SERPs)
- Product + Offer: For paid products (enables price, availability, and review stars)
- Organization + Person: Site-wide entity establishment (builds topical authority)
Use our free schema generator to create valid JSON-LD for any schema type without writing it by hand.
Meta Tags That Do NOT Matter
Stop wasting time on these:
- meta keywords: Ignored by Google since 2009
- meta author: No SEO impact (use Person schema instead)
- meta revisit-after: Never worked, not a real directive
- meta rating: Not used by search engines
- meta distribution: Does nothing
Verification Checklist
For every page you publish, verify:
- Title tag: 50-60 chars, keyword-first, unique
- Meta description: 140-160 chars, includes keyword, has CTA
- Canonical URL: Points to the exact URL of this page
- OG tags: Title, description, and image are all set
- Schema: Appropriate JSON-LD for the page type
- Robots: Not accidentally blocking the page
Run this check with our meta tags previewer — paste any URL and see exactly what Google, social platforms, and AI crawlers see. Browse our full collection of 90+ free developer tools for more SEO, development, and finance utilities.
Comments · 0
No comments yet. Be the first to share your thoughts.