Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Prevent Duplicate url ( SEO ) - forum home Details »»
Prevent Duplicate url ( SEO ) - forum home
Version: 1.00, by Golzarion Golzarion is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.7.x Rating:
Released: 10-26-2008 Last Update: Never Installs: 20
Template Edits
Re-useable Code  
No support by the author.

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
.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-30-2008, 01:58 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #13  
Old 10-30-2008, 07:07 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #14  
Old 10-30-2008, 07:09 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update setting :this code is Re-usable Code
Reply With Quote
  #15  
Old 01-07-2009, 09:46 PM
Nick Harris Nick Harris is offline
 
Join Date: Dec 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #16  
Old 01-09-2009, 10:31 AM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #17  
Old 02-17-2010, 01:34 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
It would bee very nice if vBulletin prevented duplication addresses by default ... but as you mentioned it wouldn't happen in future ...
Well , it seems that vBulletin 4 version improved this feature . and now vBulletin 4 seo friendly URLS prevents the duplication problem by default...
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06271 seconds
  • Memory Usage 2,272KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete