Forum duplication and 301

Discussions about Apache mod Rewrite, .htaccess, Use, experiences ... URL Rewriting.

Moderator: Moderators

Forum duplication and 301

Postby manburg6 » Thu Feb 11, 2010 1:03 pm

Hello,

I've changed platform and now I have two forum running on my site: the old one (phpbb-seo) and the new one (Joomla Agora).

I need to redirect (301) all the old forum link to the new one.

The links are quite somilar, for example:
old one: phpbb/strategie-e-cronache-dal-fronte-f22/zanzare-e-veranda-t868.html
new one: Forum/Strategie-e-cronache-dal-fronte/868-Zanzare-e-veranda.html

I've obtained the rewriterule:
RewriteRule /?phpbb/(.*)-f(.*)/(.*)-t(.*).html$ /forum/$1/$4-$3.html [R=301,L]
I don't' know if it is correct.

How can I redirect all the old url to the new ones?
Where I can put the rewriterule?

Thanks,
M.
manburg6
 
Posts: 12
Joined: Mon Sep 22, 2008 11:40 am

Advertisement

Return to Apache mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests