homepage Welcome to WebmasterWorld Guest from 54.196.63.93
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
htaccess rewrite help
change <url> to <new_url>
osoamor

5+ Year Member



 
Msg#: 3365463 posted 3:44 pm on Jun 12, 2007 (gmt 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?

 

jdMorgan

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



 
Msg#: 3365463 posted 8:52 pm on Jun 12, 2007 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved