pages are indexed with anchor tags

Discussions about SEO principles. Learn how to get better indexed.

Moderator: Moderators

Re: pages are indexed with anchor tags

Postby Stephen26 » Fri Jul 22, 2011 7:31 pm

Updating to 3.09 didn't help either. :(
I install and configure phpBB-SEO (and other mods) for a fair price and very fast. If you are interested simply send me a private message.
Stephen26
phpBB SEO Team
phpBB SEO Team
 
Posts: 427
Joined: Mon May 03, 2010 7:06 am

Advertisement

Re: pages are indexed with anchor tags

Postby dcz » Sat Jul 23, 2011 12:55 pm

dcz wrote:Ok, I see, try to add the same code once more before the first :
Code: Select all
      redirect(append_sid("{$phpbb_root_path}viewtopic.$phpEx", "t=$topic_id" . (($forum_id) ? "&f=$forum_id" : '')));


this means, in addition to the previous code changes, add again :

Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if (!empty($phpbb_seo->seo_opt['zero_dupe']['on'])) {
        $phpbb_seo->seo_redirect($phpbb_seo->seo_path['phpbb_urlR']);
}
// www.phpBB-SEO.com SEO TOOLKIT END

Before the first occurrence of :
Code: Select all
      redirect(append_sid("{$phpbb_root_path}viewtopic.$phpEx", "t=$topic_id" . (($forum_id) ? "&f=$forum_id" : '')));


It's the call to redirect to cause the 302 header.
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21382
Joined: Fri Apr 28, 2006 9:03 pm

Re: pages are indexed with anchor tags

Postby Stephen26 » Sat Jul 23, 2011 1:35 pm

This did the trick, thanks a bunch!
I install and configure phpBB-SEO (and other mods) for a fair price and very fast. If you are interested simply send me a private message.
Stephen26
phpBB SEO Team
phpBB SEO Team
 
Posts: 427
Joined: Mon May 03, 2010 7:06 am

Re: pages are indexed with anchor tags

Postby Stephen26 » Sun Jul 24, 2011 2:40 pm

Edit *solved*, can be deleted.
I install and configure phpBB-SEO (and other mods) for a fair price and very fast. If you are interested simply send me a private message.
Stephen26
phpBB SEO Team
phpBB SEO Team
 
Posts: 427
Joined: Mon May 03, 2010 7:06 am

Previous

Return to SEO Principles

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests