homepage Welcome to WebmasterWorld Guest from 54.237.134.62
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
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




msg:3365465
 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




msg:3365765
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved