Skip to content

webfoundersnet/seo-urls-phpbb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpBB3 SEO Permalinks Extension

This extension converts phpBB3's default URLs to SEO-friendly permalinks.

THIS EXTENSION IS STILL IN TESTING! DONT USE IT ON A LIVE WEBSITE!

Features

  • Converts topic URLs: viewtopic.php?f=1&t=123/topic/topic-title-123.html
  • Converts forum URLs: viewforum.php?f=1/forum/forum-name-1/
  • Maintains backward compatibility with original URLs
  • Configurable URL formats via Admin Control Panel
  • Automatic slug generation from titles
  • Database caching for performance

Installation

  1. Copy the extension to ext/webfounders/seo_permalinks/
  2. Go to ACP → Customise → Manage extensions
  3. Enable "SEO Permalinks"
  4. Update your .htaccess file with the provided rewrite rules

Configuration

Visit ACP → Extensions → SEO Permalinks to configure:

  • Enable/disable the extension
  • Customize URL formats
  • Set slug generation options

URL Structure

Topics

  • Before: viewtopic.php?f=2&t=123
  • After: /topic/my-awesome-topic-123.html

Forums

  • Before: viewforum.php?f=5
  • After: /forum/general-discussion-5/

Nginx Configuration

If using Nginx, add these rules to your server block:

location ~ ^/topic/.*-([0-9]+)\.html$ {
    try_files $uri /viewtopic.php?t=$1;
}

location ~ ^/forum/.*-([0-9]+)/?$ {
    try_files $uri /viewforum.php?f=$1;
}

Requirements

  • phpBB 3.3.0 or higher
  • PHP 7.1 or higher
  • mod_rewrite (Apache) or equivalent

Author

Webfounders
Website: https://webfounders.net

License

GPL-2.0-only

About

This extension converts phpBB3's default URLs to SEO-friendly permalinks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published