PHPackages                             lwplugins/lw-seo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lwplugins/lw-seo

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

lwplugins/lw-seo
================

Lightweight SEO plugin for WordPress

v1.3.8(1mo ago)293[1 issues](https://github.com/lwplugins/lw-seo/issues)GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Jan 25Pushed 1mo agoCompare

[ Source](https://github.com/lwplugins/lw-seo)[ Packagist](https://packagist.org/packages/lwplugins/lw-seo)[ Fund](https://sinann.io/)[ RSS](/packages/lwplugins-lw-seo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (36)Used By (0)

Lightweight SEO
===============

[](#lightweight-seo)

Lightweight SEO plugin for WordPress - minimal footprint, maximum impact.

[![CI](https://github.com/lwplugins/lw-seo/actions/workflows/ci.yml/badge.svg)](https://github.com/lwplugins/lw-seo/actions/workflows/ci.yml)

**Website:** [lwplugins.com](https://lwplugins.com)**GitHub:** [github.com/lwplugins/lw-seo](https://github.com/lwplugins/lw-seo)

[![LW SEO Settings](.github/screenshot.png)](.github/screenshot.png)

Features
--------

[](#features)

### Meta Tags &amp; Titles

[](#meta-tags--titles)

- **Custom Titles** - Per-post/page title override with template variables
- **Meta Descriptions** - Auto-generated from excerpt or content
- **Title Separator** - Customizable separator character
- **Canonical URLs** - Prevent duplicate content issues
- **Robots Control** - noindex/nofollow per post

### Social Media

[](#social-media)

- **Open Graph** - Facebook, LinkedIn sharing optimization
- **Twitter Cards** - Summary and large image cards
- **Default Social Image** - Fallback when post has no featured image
- **Custom OG Images** - Per-post social images

### XML Sitemap

[](#xml-sitemap)

- **Auto-generated** - Posts, pages, categories, tags
- **Search Engine Ping** - Automatic sitemap submission
- **Configurable** - Enable/disable per content type
- Available at `yoursite.com/sitemap.xml`

### Schema.org / JSON-LD

[](#schemaorg--json-ld)

- **WebSite Schema** - Site-wide structured data
- **Article Schema** - Blog posts with author info
- **Organization/Person** - Knowledge graph support
- **Breadcrumb Schema** - Navigation markup

### Breadcrumbs

[](#breadcrumbs)

- **Shortcode** - `[lw_breadcrumbs]`
- **PHP Function** - `lw_seo_breadcrumbs()`
- **Microdata** - Built-in structured data

### AI &amp; Crawlers

[](#ai--crawlers)

- **robots.txt** - Auto sitemap reference
- **llms.txt** - AI crawler information file ([llmstxt.org](https://llmstxt.org/))
- **AI Crawler Control** - Block/allow individual crawlers:
    - GPTBot (OpenAI)
    - ChatGPT-User
    - Claude-Web (Anthropic)
    - Google-Extended
    - Bytespider (ByteDance)
    - CCBot (Common Crawl)
    - PerplexityBot
    - Cohere-AI

### WooCommerce Integration

[](#woocommerce-integration)

- **Auto-Detection** - Automatically enables when WooCommerce is active
- **Product OpenGraph** - Price, currency, availability, brand, condition
- **Product Schema** - Full Schema.org Product markup with offers
- **Reviews Schema** - Product reviews and aggregate ratings
- **Product Sitemap** - Include products and product categories
- **Custom Settings** - Dedicated WooCommerce SEO settings tab

### Local SEO

[](#local-seo)

- **LocalBusiness Schema** - 100+ business types supported
- **Business Address** - Street, city, state, zip, country
- **Contact Info** - Phone, email with schema markup
- **Opening Hours** - Per-day hours with OpeningHoursSpecification
- **Geo Coordinates** - Latitude/longitude for location
- **Shortcodes** - `[lw_address]`, `[lw_phone]`, `[lw_email]`, `[lw_hours]`, `[lw_map]`

### Cleanup

[](#cleanup)

- Remove shortlinks
- Remove RSD links
- Remove WLW manifest

### Admin Interface

[](#admin-interface)

- Unified **LW Plugins** menu
- Modern tabbed settings interface
- WordPress media library integration

Installation
------------

[](#installation)

### Via Composer (recommended)

[](#via-composer-recommended)

```
composer require lwplugins/lw-seo
```

### Manual Installation

[](#manual-installation)

1. Download the latest release
2. Upload to `/wp-content/plugins/lw-seo/`
3. Activate in WordPress admin
4. Go to **LW Plugins → SEO**

Template Variables
------------------

[](#template-variables)

Use these in title templates:

VariableDescription`%%sitename%%`Site name`%%sitedesc%%`Site tagline`%%title%%`Post/page title`%%sep%%`Separator character`%%excerpt%%`Post excerpt`%%author%%`Author name`%%category%%`Primary category`%%term_title%%`Taxonomy term name`%%currentdate%%`Current date`%%searchphrase%%`Search queryRequirements
------------

[](#requirements)

- PHP 8.2+
- WordPress 6.0+

Conflict Detection
------------------

[](#conflict-detection)

LW SEO automatically disables its output when detecting:

- Yoast SEO
- Rank Math
- All in One SEO

Development
-----------

[](#development)

```
# Install dependencies
composer install

# Run code sniffer
composer phpcs

# Fix coding standards
composer phpcbf

# Run tests
composer test
```

License
-------

[](#license)

GPL-2.0-or-later

Sponsor
-------

[](#sponsor)

[ ![Sinann](https://camo.githubusercontent.com/08cb3e29f7e91a32ff084d73f5e4c33b6ac8f3508f20dfe040357e9a94c5952b/68747470733a2f2f73696e616e6e2e696f2f66617669636f6e2e737667)](https://sinann.io/)Supported by [Sinann](https://sinann.io/)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance79

Regular maintenance activity

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

35

Last Release

58d ago

PHP version history (3 changes)v1.0.1PHP &gt;=8.0

v1.0.9PHP &gt;=8.2

v1.1.3PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/56bc0e3c885c56236e52eaed12997aa4fbaf0645299acf0092a8cc5b887d65b0?d=identicon)[trueqap](/maintainers/trueqap)

---

Top Contributors

[![trueqap](https://avatars.githubusercontent.com/u/32407751?v=4)](https://github.com/trueqap "trueqap (78 commits)")

---

Tags

lightweightseowordpresswordpress-plugin

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/lwplugins-lw-seo/health.svg)

```
[![Health](https://phpackages.com/badges/lwplugins-lw-seo/health.svg)](https://phpackages.com/packages/lwplugins-lw-seo)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

18238.1k2](/packages/civicrm-civicrm-drupal-8)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
