Well, I have tried to create a temporary redirect with wildcards:
http://www.example.com/index.php?topic=1578.0 to http://www.example.com/demo/showthread.php/1578
This is my htaccess:
RewriteEngine on
RewriteBase /
# Rules for topics:
RewriteRule ^index.php\?topic=([0-9\.0]+)$ /demo/showthread.php/$1
# Rule for homepage
RewriteRule ^index.php$ /demo/forum.php
My problem is with the rules for topics. Simply it does not redirect. Can you guide me the right direction?