naporin0624 avatar

seo-lookup

Looks up SEO best practices for meta tags, Open Graph, Twitter Cards, and structured data (JSON-LD),

作者 naporin0624|オープンソース

SEO Lookup

Quick lookup for SEO meta tags, Open Graph, Twitter Cards, and structured data with official documentation references.

Lookup Workflow

  1. Identify the query type:

    • Meta tag (e.g., "title", "description", "canonical", "robots")
    • Open Graph tag (e.g., "og:image", "og:title")
    • Twitter Card (e.g., "twitter:card", "twitter:image")
    • Structured data schema (e.g., "Article", "Product", "FAQPage")
  2. Search the appropriate index:

  3. Return results:

    • Summary (1-2 sentences)
    • Key requirements or best practices
    • Official documentation URL
  4. For detailed implementation:

    • Suggest fetching the official URL
    • Or reference Google Search Central documentation

Response Format

When returning lookup results, use this format:

### [Tag/Schema Name]

**Summary**: [1-2 sentence explanation]

**Requirements**:
- [Requirement 1]
- [Requirement 2]

**Validation**: [Length limits, format requirements if applicable]

**Official Reference**: [URL]

Quick Reference

Meta Tags - Critical

TagRecommended LengthKey Point
<title>50-60 charactersUnique, descriptive, keywords first
<meta name="description">150-160 charactersCompelling, includes call-to-action
<link rel="canonical">Full URLPrevents duplicate content issues
<meta name="robots">DirectivesControls indexing behavior

Open Graph - Essential Tags

TagPurposeBest Practice
og:titleSocial share titleSame or similar to page title
og:descriptionSocial share description2-4 sentences
og:imageSocial share image1200x630px, under 8MB
og:urlCanonical URLFull absolute URL
og:typeContent typewebsite, article, product

Twitter Cards - Types

TypeUse CaseRequired Tags
summaryDefault cardtitle, description
summary_large_imageLarge image cardtitle, description, image
playerVideo/audioAll above + player URL

Structured Data - Priority Schemas

SchemaUse CaseRich Result
ArticleBlog/news contentEnhanced listing
ProductE-commercePrice, availability
FAQPageFAQ sectionsExpandable Q&A
BreadcrumbListSite navigationBreadcrumb path
LocalBusinessPhysical locationsKnowledge panel

Common Patterns

Complete Head Template

<head>
  <!-- Essential Meta -->
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Page Title - Brand Name</title>
  <meta name="description" content="Page description here.">
  <link rel="canonical" href="https://example.com/page">

  <!-- Open Graph -->
  <meta property="og:title" content="Page Title">
  <meta property="og:description" content="Page description here.">
  <meta property="og:image" content="https://example.com/image.jpg">
  <meta property="og:url" content="https://example.com/page">
  <meta property="og:type" content="website">

  <!-- Twitter Card -->
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:title" content="Page Title">
  <meta name="twitter:description" content="Page description here.">
  <meta name="twitter:image" content="https://example.com/image.jpg">
</head>

JSON-LD Template

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Article Title",
  "author": {
    "@type": "Person",
    "name": "Author Name"
  },
  "datePublished": "2024-01-01T00:00:00Z",
  "image": "https://example.com/image.jpg"
}
</script>

External Resources