Forum Moderators: phranque
I hope there is a fairly simple answer for this...Basically I used SMF forum in a bridged Joomla! CMS environment and my URLs looked like this:
http://www.example.com/component/option,com_smf/Itemid,183/topic,5800.0
but now that I run SMF standalone they look like this:
http://www.example.com/community/index.php/topic,5800.0
So essentially, I'd like to replace all instances of
http://www.example.com/component/option,com_smf
to:
http://www.example.com/community/index.php
I have performed a find/replace on my database so internally I should be okay, but I'm worried about incoming URLs. Any help is certainly appreciated.
Thanks!
[edited by: jdMorgan at 4:28 am (utc) on June 25, 2007]
[edit reason] example.com [/edit]
Jim
I've read that a few times over already and this is just greek to me.
#
# Internally rewrite search engine friendly static URL to dynamic filepath and query
RewriteRule ^product/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ /index.php?product=$1&color=$2&size=$3&texture=$4&maker=$5 [L]
#
# Externally redirect client requests for old dynamic URLs to equivalent new static URLs
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\?product=([^&]+)&color=([^&]+)&size=([^&]+)&texture=([^&]+)&maker=([^\ ]+)\ HTTP/
RewriteRule ^index\.php$ http://example.com/product/%1/%2/%3/%4/%5? [R=301,L]
RewriteRule ^component/option,com_smf\/(.*) [yourdomain.com...] [R=301,L]