Lightweight SEO plugin for WordPress - minimal footprint, maximum impact.
Website: lwplugins.com GitHub: github.com/lwplugins/lw-seo
- 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
- 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
- Auto-generated - Posts, pages, categories, tags
- Search Engine Ping - Automatic sitemap submission
- Configurable - Enable/disable per content type
- Available at
yoursite.com/sitemap.xml
- WebSite Schema - Site-wide structured data
- Article Schema - Blog posts with author info
- Organization/Person - Knowledge graph support
- Breadcrumb Schema - Navigation markup
- Shortcode -
[lw_breadcrumbs] - PHP Function -
lw_seo_breadcrumbs() - Microdata - Built-in structured data
- robots.txt - Auto sitemap reference
- llms.txt - AI crawler information file (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
- 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
- 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]
- Remove shortlinks
- Remove RSD links
- Remove WLW manifest
- Unified LW Plugins menu
- Modern tabbed settings interface
- WordPress media library integration
composer require lwplugins/lw-seo- Download the latest release
- Upload to
/wp-content/plugins/lw-seo/ - Activate in WordPress admin
- Go to LW Plugins → SEO
Use these in title templates:
| Variable | Description |
|---|---|
%%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 query |
- PHP 8.2+
- WordPress 6.0+
LW SEO automatically disables its output when detecting:
- Yoast SEO
- Rank Math
- All in One SEO
# Install dependencies
composer install
# Run code sniffer
composer phpcs
# Fix coding standards
composer phpcbf
# Run tests
composer testGPL-2.0-or-later
Supported by Sinann
