Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 12-10-2010, 10:22 AM   #1
Active Warrior
 
Join Date: Dec 2010
Posts: 40
Thanks: 25
Thanked 0 Times in 0 Posts
Default phpbb manipulating main sites keywords

Warriors-
I have a site that basically has 50 pages of content. In addition to the site I have a URL.com/phpbb-forum It is linked to the main site's front page.

I think it is creating a problem for my SEO because in the Webmaster tools the "keywords" section is showing many of the repeated words that occur with forums. This is suppressing the true content that I want to be relevant for the main URL.

Questions:
Is this really a problem for SEO?
Does Google give lots of credit to this portion of the Webmaster tool?
How can I stop this from happening, short of removing the forum?

Many thanks!
poppybaby is offline   Reply With Quote
Old 12-10-2010, 06:06 PM   #2
Active Warrior
 
Join Date: Nov 2010
Posts: 72
Thanks: 15
Thanked 2 Times in 2 Posts
Default Re: phpbb manipulating main sites keywords

Inserting some canonical code into your includes/page_header.php can help mend any duplicate content. THIS IS FOR PHPBB2!

This is something I wrote up for a gaming site of mine.

Open includes/page_header.php

Insert the following code anywhere on the page:

PHP Code:
//Getting the current page for assign vars (canonical purposes)
//Remove the space in "$ VAR"

$ VAR = "http://DOMAIN.com/$ _SERVER[REQUEST_URI]";

if(
preg_match("/viewforum.php/", )) {
$ VAR = 
"http://DOMAIN.com/viewforum.php?f=$ _GET[f]";
}

if(
preg_match("/viewtopic.php/", )) {
$ VAR = 
"http://DOMAIN.com/viewtopic.php?t=$ _GET[t]";

In the $template->assign_vars(array()); part of the page add the following code:

PHP Code:
'U_CANONICAL' => "$ VAR"
Open templates/STYLE/overall_header.tpl

In the head section post the following:

HTML Code:
<link rel="canonical" href="{U_CANONICAL}">
Hopefully that helps.
almondj is offline   Reply With Quote
Old 12-10-2010, 09:25 PM   #3
Active Warrior
 
Join Date: Dec 2010
Posts: 40
Thanks: 25
Thanked 0 Times in 0 Posts
Default Re: phpbb manipulating main sites keywords

That took a lot of time for you to write out, thanks. I will give that a shot this weekend.
But did anyone see my other questions?
Is this really a problem for SEO?
Does Google give lots of credit to this portion of the Webmaster tool?
How can I stop this from happening, short of removing the forum?
poppybaby is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum

Tags
keywords, main, manipulating, phpbb, sites

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 11:33 PM.