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 phpBB CDB & Extension Pre-Validator (EPV) compliance, it delivers a zero-SQL hot-path URL rewrite engine routed natively through phpBB's Symfony front controller (app.php), automated metadata generation, keyset-streamed XML sitemaps with constant memory footprint, built-in multi-platform 301 migration, 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.4.0
- Native
app.phpIntegration (Zero Core Modifications): Inbound SEO URLs for Forums, Topics, Member Profiles, Groups, and Legacy patterns are registered via SymfonyDynamicRouteLoaderand served through native phpBB controllers (ForumController,TopicController,MemberController,LegacyRedirectController) without modifying.htaccessor core phpBB files. - Zero Database Queries on Hot Path: Runtime outbound link rewriting through
append_sid()operates entirely in-memory with 0 SQL queries, backed by phpBB's native cache service. - Configurable Permalinks: Flexible URL pattern templates for Forums, Topics, Member Profiles, and Usergroups (Modern, Compact, Classic, and fully customizable structures), with full support for both URL rewriting (
mod_rewriteenabled) and fallbackapp.phpmode (enable_mod_rewrite = 0). - Persistent Slug Read-Model: Authoritative slug index ensuring stable, deterministic URL resolution without altering phpBB core database tables.
- Strict ACL & Visibility Isolation: Topic, forum, member, and group slugs are permission-checked (
f_read,m_approve, forum passwords,u_viewprofile,GROUP_HIDDEN) before any canonical redirect or slug disclosure. - 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. - 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.
- 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 reversibility of URL patterns before deactivation.
- Read-Only Fallback Rules Preview: Generates clean Apache, LiteSpeed, and Nginx HTTP 301 fallback redirect rules for manual copy without modifying
.htaccessor core phpBB files. - Clean Deactivation: Automatically unlinks temporary cache entries in phpBB's cache service 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 |
Native Symfony app.php Routing (Zero .htaccess Edits) |
β 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 |
| 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
phpbbseo_framework_1.4.0.zipfrom the Releases page and extract it into:ext/phpbbseo/framework/ -
In your Administration Control Panel (ACP), go to Customise Β» Manage Extensions, find phpBB SEO Framework, and click Enable.
-
Configure URL Rewriting in ACP Β» General Β» Server settings Β» Enable URL Rewriting:
-
Yes(Recommended for clean URLs): Removesapp.phpfrom all SEO URLs.- Forum example:
https://example.com/forum/general-discussion-2/ - Topic example:
https://example.com/topic/welcome-to-our-community-15/ - Apache / LiteSpeed: Works automatically out of the box using phpBB's stock
.htaccess(no edits required). - Nginx: Ensure your
server {}block includes phpBB's standard front-controller rule:(For a subdirectory install such aslocation / { try_files $uri $uri/ /app.php?$query_string; }
/forum/, usetry_files $uri $uri/ /forum/app.php?$query_string;.)
- Forum example:
-
No(Zero server configuration): Works on any web server even without.htaccessormod_rewritesupport by routing throughapp.php:- Forum example:
https://example.com/app.php/forum/general-discussion-2/ - Topic example:
https://example.com/app.php/topic/welcome-to-our-community-15/
- Forum example:
-
-
Visit ACP Β» Extensions Β» SEO Framework to customize permalinks, titles & meta templates, and XML sitemaps.
- In ACP Β» Customise Β» Manage Extensions, click Disable on phpBB SEO Framework (do not click Delete data).
- Delete the old
ext/phpbbseo/framework/folder (to remove obsolete1.3.xfiles such asrewrite.php,Update/, andstore/) and upload the1.4.0files toext/phpbbseo/framework/. - If your root
.htaccess(or Nginx config) previously pointed toext/phpbbseo/framework/rewrite.phpor contained a# BEGIN phpBB SEO Framework Lite - Safe Uninstall Fallbackblock from1.3.x, restore phpBB's stockRewriteRule ^(.*)$ app.php [QSA,L]rule. - Click Enable on phpBB SEO Framework, then run 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.