Welcome to WebmasterWorld Guest from 54.160.221.82

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess rewrite help

change <url> to <new_url>

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

New User

5+ Year Member

joined:Jan 12, 2007
posts:10
votes: 0


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?

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

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 0


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

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members