Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Prevent Duplicate url ( SEO ) - forum home Details »»
Prevent Duplicate url ( SEO ) - forum home
Mod Version: 1.00, by Golzarion (Coder/Designer) Golzarion is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

vB Version: 3.7.x Rating: (1 vote - 5.00 average) Installs: 20
Released: 27 Oct 2008 Last Update: Never Downloads: 2
Not Supported Template Edits Re-usable Code  

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: http://www.vbulletin.org/forum/showthread.php?t=194708 )
Notise : t=194708

2. sddress is with the number of post ( eg : http://www.vbulletin.org/forum/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 :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Finde :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 do the same result in the completely different way )
** Please click Installed if you use this mode . ***

thanks.
http://forum.golzarion.com
.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 27 Oct 2008, 20:40
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
reserved
Reply With Quote
  #3  
Old 27 Oct 2008, 20:42
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
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 )

Last edited by Golzarion : 27 Oct 2008 at 21:48.
Reply With Quote
  #4  
Old 27 Oct 2008, 21:12
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
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.

Reply With Quote
  #5  
Old 28 Oct 2008, 11:12
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Real name: Jarvis
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.
__________________
vBulletin Services and vBulletin Hosting
Reply With Quote
  #6  
Old 28 Oct 2008, 11:36
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Originally Posted by FRDS View Post
actually using a robots.txt to block the showthread.php?p=postid would be the easiest way ......
No ! Robots.txt in this subject doesn't solve the second problem : if members click the links on " forumhome" and they link to your forums pages with ..showthread.php?p=[postid] ...actually it dilutes your incoming link from other sites !!

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 !

Last edited by Golzarion : 28 Oct 2008 at 11:51.
Reply With Quote
  #7  
Old 28 Oct 2008, 18:14
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Real name: Jarvis
Originally Posted by Golzarion View Post
No ! Robots.txt in this subject doesn't solve the second problem : if members click the links on " forumhome" and they link to your forums pages with ..showthread.php?p=[postid] ...actually it dilutes your incoming link from other sites !!

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 !
Great, but simply rewriting this one link doesn't remove it from your forums, users can still link to it (duplicate content still), Google can still find the link to showthread.php?p=postid. Do you know how crawlers work and find links and pages on your site?

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.
__________________
vBulletin Services and vBulletin Hosting
Reply With Quote
  #8  
Old 29 Oct 2008, 01:20
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Originally Posted by FRDS View Post
.....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 . . . . .
Thank you. Of course you're right. I know it doesn't solve all duplications on vBulletin.

But this is only to improve "forumhome" template... and reduce duplication.

Last edited by Golzarion : 29 Oct 2008 at 11:47.
Reply With Quote
  #9  
Old 29 Oct 2008, 15:21
superjeff superjeff is offline
 
Join Date: Apr 2007
Like this! It could be a good way to go, but you should "convert" all the links from ?p= to ?t=!
__________________
Sorry for my english - TechForum.it
Reply With Quote
  #10  
Old 29 Oct 2008, 20:19
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Thank you . I've always admired your great hack tfseo .

Originally Posted by superjeff View Post
Like this! It could be a good way to go, but you should "convert" all the links from ?p= to ?t=!
Correct.So to "convert " it I should use rewrite mode ( in order to redirect ) ? I'm thinking about light rewrite mode that do this ... of course tfseo could be a good choice ..

Any idea? I mean can a more simple rewrite fix this vBulletin duplication completely ?

Last edited by Golzarion : 29 Oct 2008 at 20:27.
Reply With Quote
  #11  
Old 30 Oct 2008, 14:58
superjeff superjeff is offline
 
Join Date: Apr 2007
I think i can integrate this in my hack.. i will post you if i will do it, for example with the next 3.8 version!
__________________
Sorry for my english - TechForum.it
Reply With Quote
  #12  
Old 30 Oct 2008, 20:07
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Originally Posted by superjeff View Post
I think i can integrate this in my hack.. i will post you if i will do it, for example with the next 3.8 version!
That would be great !

I'm looking forward to ...

Thanks.
Reply With Quote
  #13  
Old 30 Oct 2008, 20:09
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Update setting :this code is Re-usable Code
Reply With Quote
  #14  
Old 07 Jan 2009, 22:46
Nick Harris's Avatar
Nick Harris Nick Harris is offline
 
Join Date: Dec 2008
This type of fix is MUCH better than relying on .htaccess (some hosts like Yahoo! don't even allow the use of .htaccess) so I'd like to see this idea expanded. Here is my two cents, hope it helps, it's worth reading to understand this issue better at least.

Basics: What you WANT fully SEO'd is...
#1 - Forum home
#2 - Individual forums
#3 - Individual threads

Those are the money pages on any forum, the rest is fluff to search engines. Dupicate url's ARE a problem both because they create duplicate content in Google's eyes (2 pages are identical: "?p=" and "?t=") but a more important issue is it DILUTES LINK VALUE. It really does...

example: someone finds one of your threads in Google, they like it, they reply and then they share the article with friends, maybe even using that social networking toolbar you have on every page. What's wrong with that right? LOTS. For starters when they post a reply and return to the thread they are NOT on the same thread Google sent them to. When someone replies they get sent back to the "?p=" version and not the "?t=" version Google sent them to so when they tell their friends and create backlinks... yup - useless since they're not aimed at your already indexed page.

Solution - find every link on the site and aim them all to one version only.
New Problem - some features require the ?p= version. You can remove those features or not make these changes.
Bigger problem - having two versions is a core part of how vBulletin works so future releases aren't likely to change all links to point at one version, if they did older sites may stop working. This is going to have to happen at the user level and no plugin can accomplish such a big change without .htaccess so it's going to take someone writting an extensive guide and debugging it as they go.


EDIT: to be more clear about features. example: when you reply to a topic you are redirected to see your post afterwards, if you were to change the ?p= to ?t= you would end up back at the thread instead, not your post... fun stuff to figure out huh?

Last edited by Nick Harris : 07 Jan 2009 at 23:05.
Reply With Quote
  #15  
Old 09 Jan 2009, 11:31
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Thanks Nick.

It would bee very nice if vBulletin prevented duplication addresses by default ... but as you mentioned it wouldn't happen in future ...

This modification is just a simple improvement I hope tfseo fix it completely for the next versions.

And I am really happy that see " Superjeff " payed attention to this matter.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 15:30.

Layout Options | Width: Wide Color: