moving from a subfolder to another with zero dup installed

Zero duplicate support forum.
Personalized HTTP 301 dynamic redirections.

Moderator: Moderators

moving from a subfolder to another with zero dup installed

Postby triple » Thu Feb 21, 2008 4:25 am

hi, moving phpbb from a subfolder to another wich kind of 301 redirect i need to use? and on which files? i post in this section beacuse in a precedent moving i use a 301 php code on phpbb root files like portal.php, index.php, viewtopic.php and so on....but with the zero duplicate active how i need to act? thanks
triple
 
Posts: 11
Joined: Tue Dec 18, 2007 5:42 am
Location: San Cristobal de las Casas - Mexico

Advertisement

Postby SeO » Thu Feb 21, 2008 10:51 am

You'll need to redirect all of the old dir content to the new one, using something like :

Code: Select all
RewriteRule ^old_dir/(.*) /new_dir/$1 [QSA,L,R=301]


In your .htaccess.

Do some test on two unused dir to make sure it's working before you'll switch.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm


Return to Zero duplicate phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests