Important
This repository is maintained for existing installations and backward compatibility.
For NEW phpBB installations, do not install USU.
Use the new phpBB SEO Framework instead:
🔗 https://github.com/phpbb-seo/seo-framework
- Legacy / Maintenance Status: USU remains available as a stable compatibility project for existing websites that depend on its historical URL structure.
- Existing Installations: Existing USU users should NOT uninstall or attempt automatic migration.
- New Installations: New phpBB 3.3.x boards should install phpBB SEO Framework, the actively developed next-generation SEO platform.
phpBB SEO Framework is the modern successor to Ultimate SEO URL for new phpBB installations.
Key features of phpBB SEO Framework (Lite Edition):
-
SEO-Friendly Permalinks: Customizable URL pattern templates for forums, topics, members, and usergroups.
-
Persistent Slug Index: Framework-owned persistent slug storage providing fast and deterministic URL resolution without modifying phpBB core tables.
-
Canonical URLs & Automatic 301 Redirects: Seamlessly normalizes legacy native URLs (
viewtopic.php?t=123) and historical stale slugs. -
Titles & Meta Engine: Pattern-driven meta titles and clean plain-text description normalization.
-
Scalable XML Sitemap Suite: Keyset-based streaming architecture with strict Anonymous ACL protection and zero deep SQL offset overhead.
-
Multilingual / Unicode Support: Native UTF-8 slug generation for Persian, Arabic, Cyrillic, Latin, and CJK alphabets.
-
Modern ACP Interface: Responsive administration dashboard with live crawl statistics and preview tools.
-
Zero-SQL
append_sidHot Path: Zero database queries during runtime outbound link rewriting. -
Official Website: https://www.phpbbseo.ir/
-
GitHub Repository: https://github.com/phpbb-seo/seo-framework
(Note: USU and phpBB SEO Framework use different internal architectures and are not drop-in compatible).
- Full SEO-friendly URL rewriting preserving original USU URL patterns
- Canonical URL generation
- Automatic duplicate URL detection and 301 redirects
- Forum, Topic, User, and Search URL rewriting
- Advanced, Mixed, and Simple rewrite modes
- High-performance URL caching
- Compatible with phpBB 3.3.x and PHP 8.4
| Component | Version |
|---|---|
| phpBB | 3.3.x |
| PHP | 8.4 |
| License | GNU General Public License v2.0 |
Important
This repository is maintained for existing installations and backward compatibility.
For NEW phpBB installations, do not install USU.
Use the new phpBB SEO Framework instead:
🔗 https://github.com/phpbb-seo/seo-framework
- Legacy / Maintenance Status: USU remains available as a stable compatibility project for existing websites that depend on its historical URL structure.
- Existing Installations: Existing USU users should NOT uninstall or attempt automatic migration.
- New Installations: New phpBB 3.3.x boards should install phpBB SEO Framework, the actively developed next-generation SEO platform.
phpBB SEO Framework is the modern successor to Ultimate SEO URL for new phpBB installations.
Key features of phpBB SEO Framework (Lite Edition):
-
SEO-Friendly Permalinks: Customizable URL pattern templates for forums, topics, members, and usergroups.
-
Persistent Slug Index: Framework-owned persistent slug storage providing fast and deterministic URL resolution without modifying phpBB core tables.
-
Canonical URLs & Automatic 301 Redirects: Seamlessly normalizes legacy native URLs (
viewtopic.php?t=123) and historical stale slugs. -
Titles & Meta Engine: Pattern-driven meta titles and clean plain-text description normalization.
-
Scalable XML Sitemap Suite: Keyset-based streaming architecture with strict Anonymous ACL protection and zero deep SQL offset overhead.
-
Multilingual / Unicode Support: Native UTF-8 slug generation for Persian, Arabic, Cyrillic, Latin, and CJK alphabets.
-
Modern ACP Interface: Responsive administration dashboard with live crawl statistics and preview tools.
-
Zero-SQL
append_sidHot Path: Zero database queries during runtime outbound link rewriting. -
Official Website: https://www.phpbbseo.ir/
-
GitHub Repository: https://github.com/phpbb-seo/seo-framework
(Note: USU and phpBB SEO Framework use different internal architectures and are not drop-in compatible).
- Full SEO-friendly URL rewriting preserving original USU URL patterns
- Canonical URL generation
- Automatic duplicate URL detection and 301 redirects
- Forum, Topic, User, and Search URL rewriting
- Advanced, Mixed, and Simple rewrite modes
- High-performance URL caching
- Compatible with phpBB 3.3.x and PHP 8.4
| Component | Version |
|---|---|
| phpBB | 3.3.x |
| PHP | 8.4 |
| License | GNU General Public License v2.0 |
This specific branch includes critical production patches optimized to run the v2.0.3 Framework under modern environments (tested on phpBB 3.3.19 and PHP 8.4.27) without triggering white pages, strict type validation errors, or bootstrap container crashes.
The following architectural issues have been fixed:
- Updated
composer.jsonby adding the mandatory"authors"block and configuring the proper PSR-4"autoload"namespaces to prevent phpBB Extension Manager from rejecting the package as invalid.
- Fixed multiple mismatched return type definitions inside
acp/usu.php(such asset_phpbb_seo_links()andwrite_cache()) where arrays or booleans were being returned instead of strict strings. - Fixed
core/core.phpread_config()method which was missing a finalreturn true;statement, causing a fatal error under PHP 8. - Enforced type-casting via strict integer formatting
(int)for database configuration limits (topics_per_page,posts_per_page,forum_id, andtopic_id) acrosslistener.phpand sync modules to comply with modern PHP 8 strict function signatures.
- Resolved a critical syntax parse error inside
core/traits/rewriter.php(around line 342) where an escaped parameter default ('/') was breaking the compiler PHP parsing mechanism. - Patched pagination float-to-int assignment constraint regarding the mathematical
floor()behavior inside theviewtopiccontext oflistener.php.
- Optimized the automated
.htaccessrules generator to compile an output fully aligned with phpBB 3.3 standards, cleaning up Front Controller recursion anomalies, adding sitemap routing overrides, and structuring isolated directory paths for parent categories.
Note
USU is no longer recommended for new phpBB installations. The documentation below is provided solely for administrators maintaining an existing USU-powered board.
For new installations, please install phpBB SEO Framework.
- Back up your database and existing extension files.
- Unpack the extension into:
Note
USU is no longer recommended for new phpBB installations. The documentation below is provided solely for administrators maintaining an existing USU-powered board.
For new installations, please install phpBB SEO Framework.
- Back up your database and existing extension files.
- Unpack the extension into:
ext/phpbbseo/usu/ - In the phpBB Administration Control Panel (ACP), navigate to Customise » Manage Extensions.
- Ensure Ultimate SEO URL is enabled.
- Purge the phpBB cache.
- Verify that your URL rewriting rules in
.htaccessremain active.
This repository represents the compatibility and maintenance branch of the classic Ultimate SEO URL extension.
Its primary objectives are:
- Preserve backward compatibility for historical URL formats
- Maintain stable URL generation on modern PHP versions
- Provide long-term stability for existing communities
Active development of new features (XML Sitemaps, Metadata engines, OpenGraph, Schema.org) is conducted exclusively on the phpBB SEO Framework platform.
- Official Website: https://www.phpbbseo.ir/
- Modern SEO Framework: https://github.com/phpbb-seo/seo-framework
This project is licensed under the GNU General Public License v2.0 (GPL-2.0).
https://opensource.org/licenses/GPL-2.0