Remove lang view_topic from page_header at viewtopic.php

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Remove lang view_topic from page_header at viewtopic.php

Postby Dave » Thu Nov 27, 2008 3:34 pm

I want to remove

Code: Select all
$user->lang['VIEW_TOPIC'] .' - ' .


from this piece of code;

Code: Select all
page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title']);


(It's in viewtopic.php)

But I discovered that it messes up the behaviour of SEO (0.4.4)

Google indexes not properly anymore... Links are like this;

board/topicname-t47198.html-st=0&sk=t&sd=a

board/topicname-t45554s450.html


whats in bold should not be there.. Whats going on, its causing 404's now :shock: :evil: :evil:

I really don't want that stupid extra data in topic titles, it's pointless :D
Dave
 
Posts: 10
Joined: Thu Nov 27, 2008 3:19 pm

Advertisement

Re: Remove lang view_topic from page_header at viewtopic.php

Postby HB » Fri Nov 28, 2008 2:44 pm

Dave wrote:But I discovered that it messes up the behaviour of SEO

Would you provide a bit more background? For example, what phpBB SEO mod(s) you have installed, what version of phpBB, what mods you've installed, board URL, etc? Modifying the viewtopic header should not affect the generated URL...
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1517
Joined: Mon Oct 16, 2006 2:25 am

Postby dcz » Fri Nov 28, 2008 3:47 pm

These urls looks like coming from another url rewriting mod.

So if you moved to ours, you can properly redirect these pretty easily with the zero dupe, just keep the old mod rewriterules up and running (eg with proper path and slashes) and the end of your new phpBB3 ones.

++
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: 21407
Joined: Fri Apr 28, 2006 9:03 pm


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Bing [Bot] and 7 guests