I've decided to move away from Joomla, and go towards a Tinyportal + SMF setup. Is there a clever way to re-program my webserver to redirect all com_smf links to "normal" SMF URLs?
For example, change these two Joomla URLs into the SMF equivalent:
1. http://www.kaitech.hk/index.php?option=com_smf&Itemid=71&topic=385.0 OR
2. http://www.kaitech.hk/component/option,com_smf/Itemid,71/topic,385.0 (SEF enabled)
to http://www.kaitech.hk/forums/index.php?topic=385.0
Thanks!
I suppose you could use .htaccess...
Any more hints ???
Found this
http://www.simplemachines.org/community/index.php?topic=68581.0
From this thread: http://www.simplemachines.org/community/index.php?topic=46963.0
RewriteRule ^forums/(index.php)?$ /index.php?option=com_smf&Itemid=175&
RewriteRule ^forums/index.php/(.*)$ /component/option,com_smf/Itemid,175/$1
RewriteRule ^forums/index.php\?(.*)$ /component/option,com_smf/Itemid,175/?$1
The above code seems to redirect from /forums to the com_smf component.
Theoretically, could I not reverse it and it would redirect from com_smf to normal SMF urls... something like this?
RewriteRule /index.php?option=com_smf&Itemid=71& ^forums/(index.php)?$
RewriteRule /component/option,com_smf/Itemid,71/$1 ^forums/index.php/(.*)$
RewriteRule /component/option,com_smf/Itemid,71/?$1 ^forums/index.php\?(.*)$
any help? ::)