Forum Replies Created
-
In reply to: Importing from phpbb3 to bbpress
I used cms2cms to migrate one of my forums.
in addition to what everyone wrote, I would like to add something very important: keep the SEO juice.
if you want to keep all your SERP positions in google you must 301 redirect every topic from your old phpbb forum to the new bbpress topics.
to do this you just have to:
Open/edit:
/styles/prosilver/template/overall_header.html
(or the template you are using)search for:
// Send vars to template
$template->assign_vars(array(
‘FORUM_ID’ => $forum_id,and just above this lines add this piece of code:
##################################
$titleac = trim($topic_data[‘topic_title’]);
$relativeurl = str_replace(‘ ‘,’-‘,$titleac);
$relativeurl = strtolower($relativeurl);
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://www.YOURDOMAIN.com/forums/topic/”.$relativeurl.”/”);
#####################################I have little more detail of the bbpress permalink, etc configurations in this article: http://abiliocaetano.com/seo-migrate-phpbb-to-bbpress/
regards,
In reply to: phpbb to bbpress converter and best practice?Hi all,
in addition to what everyone wrote, I would like to add something very important: keep the SEO juice.
if you want to keep all your SERP positions in google you must 301 redirect every topic from your old phpbb forum to the new bbpress topics.
to do this you just have to:
Open/edit:
/styles/prosilver/template/overall_header.html
(or the template you are using)search for:
// Send vars to template
$template->assign_vars(array(
‘FORUM_ID’ => $forum_id,and just above this lines add this piece of code:
##################################
$titleac = trim($topic_data[‘topic_title’]);
$relativeurl = str_replace(‘ ‘,’-‘,$titulo);
$relativeurl = strtolower($relativeurl);
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://www.YOURDOMAIN.com/forums/topic/”.$relativeurl.”/”);
#####################################I have little more detail of the bbpress permalink, etc configurations in this article: http://abiliocaetano.com/seo-migrate-phpbb-to-bbpress/
regards,