Welcome to WebmasterWorld Guest from 54.144.124.152

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess rewrite help

change <url> to <new_url>

     

osoamor

3:44 pm on Jun 12, 2007 (gmt 0)

5+ Year Member



I'm using smf forum currently and am in the middle of wrapping Joomla around it using a bridge. However there are 50k posts/urls that are indexed in the search engines and hope to keep them there. So I'm trying to rewrite the new urls to render the old ones... just for the forum section which as you'll see uses the syntax: option=com_smf.

I need to change the url:
index.php?option=com_smf&topic=1.msg2#new

to this:
index.php?topic=1.msg2#new

How would I write this in the htaccess file?

jdMorgan

8:52 pm on Jun 12, 2007 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Because of our Charter, we can help you write your code, but we can't write it for you... Please post your best effort after reviewing the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].

Thanks,
Jim

 

Featured Threads

Hot Threads This Week

Hot Threads This Month