The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Prevent Duplicate url ( SEO ) - forum home Details »» | |||||||||||||||||||||||||||
Prevent Duplicate url ( SEO ) - forum home
Developer Last Online: Nov 2023
Prevent Duplicate topic url on forumhome :
For Great SEO you need to prevent duplicate addresses of one page ! a unique URL per each unique resource is realy important! vbulletin does have a problem with duplicating content.I had the same problem as here you can read . Because vbulletin has at least 2 different url addresses for one page !!!! 1. address is with the number of thread ( eg: https://vborg.vbsupport.ru/showthread.php?t=194708 ) Notise : t=194708 2. sddress is with the number of post ( eg : https://vborg.vbsupport.ru/showthread.php?p=1653770 ) Notice : p=1653770 As you see this duplication address cause many problems that you can see on google webmasters tool . Also it dilutes your incoming links !! some users link to the topic with the url of theard id (...?t=xxxx) the othres link the same topic and the same page with the url of last post number (...?p=xxxx ) see more details :here . What does this mode do ? It prevent the most popular duplication on forum home ! ( the main page of your vBulletin forums) How to Install ? Just some easy template edit ! 1.go to " forumhome_lastpostby"template ( admin cp =>Styles&Templates=>style manager=>all style option=>Forum home template ==>>forumhome_lastpostby) search for : Code:
goto=newpost Code:
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" PHP Code:
** Please click Installed if you use this mode . *** thanks. http://forum.golzarion.com . Show Your Support
|
Comments |
#2
|
||||
|
||||
reserved
|
#3
|
||||
|
||||
It works fine with all versions of vbulletin ! 3.6.8 / 3.7.3/3.8.0/ and ...
Also it is xhtml transitional valid. **** I did this change as modification and use it on my forum . because for some reasons I didn't want install vbseo or tfseo or any rewrite modes ! (vbseo users do not need to install this mode because vbseo make the same result in the completely different way ) |
#4
|
||||
|
||||
More details :
On forum home ( the main page of your forums) when users make new post on topics ... you can see the name of that topic on the main page but with this link : " yoursite.com/showthread.php?goto=newpost&t=xxx" this rules redirect visitors (also google bots) and users to the URL of that topic with "post id " such as " showthread.php?p=xxx" It makes Duplicate addresses ! And you know how bad is duplicate address is.(see the links and refers on the mode descriptions. There was 2 popular way to get rid of that : 1.change showthead.php and fuction.php of vBulletin default php files!! 2.Buy vbseo or use tfseo or any reWrite modes.! I used the third way : Remove and improve the forumhome link! by editing the template ! I beleive it is more usefull and easy. |
#5
|
||||
|
||||
actually using a robots.txt to block the showthread.php?p=postid would be the easiest way as Google will still find it your way since you haven't removed/rewritten all the links pointing to the showthread.php?p=postid links.
|
#6
|
||||
|
||||
Quote:
You should fix the duplicate URLs to get the better incoming links from other sites !! This is what I believe ! If you improve the duplication links and prevent the others to link the ( showthread.php?p=xxx) surely it improves your incoming links and better ! Surely if someone buy the vbseo ... it acts exactly the same ( certainly by rewrite ) ... you can see the http://vbseo.com/forums ... and see the links of the threads on forumehome ... They are exactly the same as using this mode ! Both link to the URL with " thread id " ! This modification is the best for thoes who do NOT want use rewrite to fix forumhome URLs. I think it should be the vBulletin default ! |
#7
|
||||
|
||||
Quote:
If you want it removed to prevent the duplicate content, you'll have to rewrite every single link that points to showthread.php?p=postid which this clearly doesn't do, or block it from being crawled completely via robots.txt So go ahead and make this tiny template edit, then in a few weeks/months do a site:http://yoursite.com/showthread.php?p= search and see how it goes. |
#8
|
||||
|
||||
Quote:
But this is only to improve "forumhome" template... and reduce duplication. |
#9
|
|||
|
|||
Like this! It could be a good way to go, but you should "convert" all the links from ?p= to ?t=!
|
#10
|
||||
|
||||
Thank you . I've always admired your great hack tfseo . :up:
Quote:
Any idea? I mean can a more simple rewrite fix this vBulletin duplication completely ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|