<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # New fix for topic links 22 archive RewriteCond %{REQUEST_URI} ^/archive/.*topic-([0-9]+) [NC] RewriteRule ^archive/index.php/topic-([0-9]+)\.html$ /viewtopic.php?t=$1 [L,QSA,END] </IfModule> The END flag stops all subsequent rewrite processing, a critical improvement for PHP 8.2+ environments. Step 4: Nginx Users (The New Configuration) If you run Nginx, the old try_files directives fail. Here is the new working configuration:
Published by: Tech Solutions Desk Reading time: 8 minutes topic links 22 archive fix new
SecFilterEngine Off SecFilterScanPOST Off Modify your archive configuration file ( config/archive.php ): <IfModule mod_rewrite