Modern, enterprise-grade Search Engine Optimization infrastructure for phpBB.
phpBB SEO Framework (Lite Edition) is the official search engine optimization extension for phpBB 3.3.x communities. Architected for speed, clean software design, and strict standards compliance, it delivers a zero-SQL hot-path URL rewrite engine, automated metadata generation, keyset-streamed XML sitemaps with constant memory footprint, built-in multi-platform 301 migration, high-performance static asset delivery, and a high-performance bulk slug backfill engine.
- Official Website: https://www.phpbbseo.com/
- GitHub Repository: https://github.com/phpbb-seo/seo-framework
- Latest Release: v1.2.5
- Zero Database Queries on Hot Path: Runtime outbound link rewriting through
append_sid()operates entirely in-memory with 0 SQL queries. - Configurable Permalinks: Flexible URL pattern templates for Forums, Topics, Member Profiles, and Usergroups (Modern, Compact, Classic, and fully customizable structures).
- Persistent Slug Read-Model: Authoritative slug index ensuring stable, deterministic URL resolution without altering phpBB core database tables.
- Automatic 301 Canonical Redirects: Seamlessly redirects legacy native URLs (
viewtopic.php?t=123,viewforum.php?f=4), altered slugs, and outdated URL structures to current canonical locations. - Pre-Bootstrap Router: Dedicated standalone routing handler (
rewrite.php) intercepting inbound requests before full application initialization for blazing fast responses. - Administrative Path Isolation: Strict isolation guards guaranteeing that URLs and requests targeting ACP (
adm/,IN_ADMIN), MCP (mcp.php), or UCP (ucp.php) are never rewritten, preserving native administrative pagination and actions. - Query Parameter Healing: Automatic normalization and healing of malformed query attachments (e.g.
/&view=printor/&bookmark=1), ensuring seamless compatibility across phpBB templates.
- Third-Party Platform Migration Redirects: Built-in 301 redirection for communities migrating to phpBB from XenForo, vBulletin, MyBB, and SMF, featuring safe ID preservation and fail-closed route collision guards.
- Legacy Ultimate SEO URL (USU) Support: Full backward compatibility resolving and 301-redirecting historical
.html,.htm, extensionless, underscore-based, and nested directory USU patterns. - Symfony Route Collision Guard: Candidate legacy URLs are validated against phpBB's Symfony route collection to prevent shadowing core routes or third-party extensions.
- Configurable Admin Toggles: Independent ACP switches for each legacy platform to eliminate runtime overhead for unneeded patterns.
- Zero-Redirect Direct Asset Streaming: Misplaced or rewritten theme/extension static assets are delivered directly (
200 OK) with full HTTP caching (Cache-Control: public, max-age=31536000, immutable,ETag,Last-Modified,304 Not Modified, and GZIP compression). - Lightweight 404 Fast-Path: Missing static assets (
.png,.jpg,.js,.css,.woff2, etc.) receive an instant ~15ms HTTP 404 before full phpBB session boot, eliminating session locking contention and server stalls. - Extensible Pro Fast-Path Hooks: Pre-boot router hooks enabling Pro features (such as
/llms.txtcache serving) to deliver payloads with zero database queries.
- Sitemaps Protocol 0.9 Compliant: Fully compatible with Google Search Console, Bing Webmaster Tools, and Yandex.
- Scalable Keyset Streaming: Employs Symfony
StreamedResponseand database cursor batching with a constant< 2 MBmemory footprint, effortlessly handling massive forums with 100k+ topics without PHP memory exhaustion. - Strict Anonymous ACL Guard: Strictly restricts sitemaps to public guest-accessible forums; private, hidden, or staff forums are never exposed.
- Human-Readable XSL Stylesheet: Interactive browser presentation (
/sitemap.xsl) transforming raw XML feeds into styled dashboards.
- Pattern-Based Templates: Define custom meta titles and descriptions for Home, Forum, Topic, and Profile pages.
- Intelligent Text Normalization: Automatically strips BBCode, smilies, nested quotes, and HTML entities to produce clean plain-text Unicode snippets.
- Authoritative Canonical Links: Injects
<link rel="canonical">elements across all endpoints, eliminating duplicate content across pagination and print views.
- Native UTF-8 Slugs: Full native Unicode slug generation across Persian, Arabic, Cyrillic, Latin, Greek, Hebrew, and CJK scripts.
- Configurable Latin Diacritics Transliteration: Optional ACP toggle utilizing Unicode Form D decomposition to convert accented Latin characters (
Γ©,ΓΆ,Γ±) into clean ASCII while strictly preserving non-Latin scripts.
- Pre-Flight Diagnostics: Inspects server rewrite capabilities, active slug counts, and system states before deactivation.
- Automated
.htaccessFallback Preview: Generates clean fallback rewrite rules and allows reviewing removal steps with automatic backup recovery. - Clean Deactivation: Automatically unlinks compiled route caches and temporary stores upon deactivation.
phpBB SEO Framework is designed with a unified, extensible architecture. The Lite Edition delivers the complete foundational SEO infrastructure, while the Pro Edition unlocks advanced search engine automation, real-time analytics, and rich data integrations.
| Feature / Capability | Lite Edition | Pro Edition |
|---|---|---|
| Zero-SQL SEO URL Hot Path | β Included | β Included |
| Persistent Slug Read-Model | β Included | β Included |
| Canonical 301 Redirections | β Included | β Included |
| Configurable Permalinks (Modern, Compact, Classic, Custom) | β Included | β Included |
| Multi-Platform 301 Migration (XenForo, vB, MyBB, SMF, USU) | β Included | β Included |
| Administrative Path Isolation (ACP, MCP, UCP) | β Included | β Included |
| High-Performance Static Asset Delivery & 404 Fast-Path | β Included | β Included |
| Keyset-Streamed XML Sitemaps (Symfony StreamedResponse) | β Included | β Included |
| Dynamic Titles & Meta Engine | β Included | β Included |
| Unicode UTF-8 & Diacritics Transliteration | β Included | β Included |
| Safe Uninstall Suite & Pre-Flight Diagnostics | β Included | β Included |
| Persistent Slug Backfill Engine (CLI & ACP) | β Included | β Included |
AI Agent /llms.txt Generator & Endpoint |
β | β Included |
| On-Page SEO Analyzer (Real-time scoring & audits) | β | β Included |
| Titles & Meta Pro (Advanced Rules & Per-Forum Overrides) | β | β Included |
| OpenGraph & Twitter Card Social Metadata | β | β Included |
| JSON-LD Schema & Rich Data Generator | β | β Included |
| Google Search Console (GSC) Integration | β | β Included |
| Automated 404 Error Monitor & Dead Link Tracking | β | β Included |
| Dynamic 301/302 Redirect Manager | β | β Included |
| Robots.txt & Advanced Indexing Directives | β | β Included |
| IndexNow Instant Search Engine Submission | β | β Included |
| Forum Social & OpenGraph Fallbacks | β | β Included |
Learn more about the Pro Edition at https://www.phpbbseo.com/.
- phpBB:
3.3.0β3.3.15+(fully compatible across all phpBB 3.3.x releases) - PHP:
8.1,8.2,8.3, or8.4+(verified with Extension Pre Validator standards) - Web Servers:
- Apache 2.4+ (with
mod_rewriteenabled) - LiteSpeed / OpenLiteSpeed
- Nginx
- Apache 2.4+ (with
-
Download the latest release package (
phpbbseo_framework_1.2.5.zip) from the Releases page. -
Extract the archive and upload the files to your phpBB installation so the directory path is:
ext/phpbbseo/framework/ -
Configure your web server rewrite rules:
Add the following directives to your phpBB root
.htaccessfile:<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ ext/phpbbseo/framework/rewrite.php [QSA,L] </IfModule>
Add the following directive inside your server configuration block:
location / { try_files $uri $uri/ /ext/phpbbseo/framework/rewrite.php?$query_string; }
location /forum/ { try_files $uri $uri/ /forum/ext/phpbbseo/framework/rewrite.php?$query_string; }
-
Open the Administration Control Panel (ACP) and navigate to:
Customise Β» Manage Extensions -
Locate phpBB SEO Framework under Disabled Extensions and click Enable.
-
Navigate to the new SEO Framework tab in the ACP to configure your settings.
- In the ACP, navigate to Customise Β» Manage Extensions, find phpBB SEO Framework, and click Disable (do not click delete data).
- Upload the new files to
ext/phpbbseo/framework/, overwriting existing files. - Click Enable on phpBB SEO Framework.
- Purge the board cache from ACP Β» General Β» Purge the cache.
The framework includes a powerful Symfony CLI command suite for server administrators:
# Rebuild missing topic slugs (default safe mode, processes unindexed topics)
php bin/phpbbcli.php seo:rebuild-slugs
# Rebuild all topic slugs from scratch
php bin/phpbbcli.php seo:rebuild-slugs --all
# Rebuild with a custom batch size (1 to 1000)
php bin/phpbbcli.php seo:rebuild-slugs --batch-size=500
# Using the alternative namespace alias
php bin/phpbbcli.php phpbbseo:rebuild-slugs --all- Official Website & Docs: https://www.phpbbseo.com/
- Knowledge Base: https://www.phpbbseo.com/knowledge
- Community Forum: https://www.phpbbseo.com/forum/
- GitHub Repository: https://github.com/phpbb-seo/seo-framework
- Issue Tracker: https://github.com/phpbb-seo/seo-framework/issues
phpBB SEO Framework is open-source software licensed under the GNU General Public License v2 (GPL-2.0-only).
Developed and maintained by the phpBB SEO Team.
Copyright Β© 2026 phpBB SEO. All rights reserved.