Free Plugin by DrGlenn

Lightweight SEO

Clean SEO meta tags, Open Graph, and Twitter Cards with smart defaults and optional per‑post overrides. Includes minimal JSON‑LD. Zero tracking. Built to play nice with themes and other plugins.

Overview

Lightweight SEO auto‑injects the essential tags search engines and social networks look for—without the bulk of full SEO suites. It uses smart fallbacks (excerpt → trimmed content → site tagline), respects WordPress core APIs, and caches output for speed.

Activate it and you’re done. Optional overrides are available per post/page when you need them.

Optimized for compatibility—no external requests; can auto‑pause if a major SEO plugin is active to prevent duplicate tags.

Why You’ll Like It

No bloat Smart defaults Per‑post overrides JSON‑LD (optional) Zero tracking

  • Better baseline SEO: Great titles & snippets without complex setup.
  • Fast: Tiny footprint, output cached and auto‑invalidated on updates.
  • Compatible: Uses core APIs and plays well with themes, caching, and multilingual setups.
  • Safe: Strict sanitization, nonces in admin, no external calls.

Features (v2.4.3)

SEO Meta

  • Description: excerpt → trimmed content (~160 chars) → site tagline.
  • Canonical: permalink plus optional manual override.
  • Robots: smart defaults (e.g., noindex on search/404, paged archives → noindex,follow).

Open Graph & Twitter

  • OG: og:title, og:description, og:type, og:url, og:image.
  • Twitter Cards: summary_large_image, title, description, image, and optional twitter:site.
  • Images: featured image → first content image → sitewide default URL.

Per‑Post Overrides

  • Custom description
  • Custom OG/Twitter image URL
  • Robots value (e.g., noindex,follow)
  • Canonical URL override

Minimal JSON‑LD

  • WebSite on the homepage
  • Article on single posts (headline, dates, author, image)

What It Outputs

<meta name="description" ...>
<link rel="canonical" ...>
<meta name="robots" content="index,follow">
<meta property="og:type" content="article|website">
<meta property="og:title" ...>
<meta property="og:description" ...>
<meta property="og:url" ...>
<meta property="og:image" ...>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" ...>
<meta name="twitter:description" ...>
<meta name="twitter:image" ...>
<script type="application/ld+json"> (optional JSON‑LD) </script>

Installation

  1. Download the zip: lightweight-seo.zip
  2. WordPress admin → Plugins → Add NewUpload Plugin → choose the zip → Install Now.
  3. Click Activate.
macOS tip: Hold Option while clicking if your browser tries to open instead of download.

Usage

  • Go to Settings → Lightweight SEO to set a default image and optional Twitter handle.
  • On any post/page, use the “Lightweight SEO – Overrides” box to customize description, image, robots, or canonical.
  • Enable the option to auto‑pause when another SEO suite is active to avoid duplicate tags.

Download

One‑file simplicity. Clean meta. Social‑ready previews.

Disclaimer: Provided free without warranty. Meta tags are signals, not guarantees—search engines control indexing/snippets. If you use another SEO suite, enable auto‑pause or disable duplicates.

Changelog

2.4.3

  • Refined canonical URL handling and current‑URL safety.
  • Helper fallback for environments without mbstring.
  • Copy updates and documentation improvements.

2.4.0

  • Added optional JSON‑LD (WebSite / Article).
  • Per‑post overrides for description, image, robots, canonical.

2.3.x

  • Open Graph & Twitter Card improvements and caching tweaks.

FAQ

Does it replace big SEO plugins?

It covers the core meta tags most sites need. If you require advanced features (sitemaps, redirects, content analysis), you can run a full SEO suite and enable the auto‑pause setting here to avoid duplicates.

Will it slow down my site?

No. It’s tiny, performs minimal lookups, and caches its output.

Can I customize the output?

Yes. Use per‑post overrides or developer filters like wpst_meta_title, wpst_meta_description, wpst_canonical, and wpst_jsonld_payload.

Disclaimers

© DrGlenn. DrGlenn does not track downloads. You are loved, and it shows!