vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Board Optimization - Prevent Duplicate url ( SEO ) - forum home (https://vborg.vbsupport.ru/showthread.php?t=194734)

Golzarion 10-26-2008 10:00 PM

Prevent Duplicate url ( SEO ) - forum home
 
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
Finde :
Code:

<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]"
Replace it with :
PHP Code:

<a href="showthread.php?$session[sessionurl]t=$lastpostinfo[lastthreadid]

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
.

Golzarion 10-27-2008 07:40 PM

reserved

Golzarion 10-27-2008 07:42 PM

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 )

Golzarion 10-27-2008 08:12 PM

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.


SEOvB 10-28-2008 10:12 AM

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.

Golzarion 10-28-2008 10:36 AM

Quote:

Originally Posted by FRDS (Post 1654402)
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 ! ;)

SEOvB 10-28-2008 05:14 PM

Quote:

Originally Posted by Golzarion (Post 1654414)
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.

Golzarion 10-29-2008 12:20 AM

Quote:

Originally Posted by FRDS (Post 1654681)
.....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.

superjeff 10-29-2008 02:21 PM

Like this! It could be a good way to go, but you should "convert" all the links from ?p= to ?t=!

Golzarion 10-29-2008 07:19 PM

Thank you . I've always admired your great hack tfseo . :up:

Quote:

Originally Posted by superjeff (Post 1655335)
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 ?


All times are GMT. The time now is 02:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01057 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete