vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - rel canonical for showthread as in vBseo v1.0, prevent duplicate content (https://vborg.vbsupport.ru/showthread.php?t=225080)

abdobasha2004 10-11-2009 10:00 PM

rel canonical for showthread as in vBseo v1.0, prevent duplicate content
 
1 Attachment(s)
this is my first version of the rel canonical mod for vbulletin
Plan :
v 1.0 ---> for showthread
Better version :
v 1.1 ---> https://vborg.vbsupport.ru/showthread.php?t=225117

this mod is already included in the vBseo mod.

Edit templates ---> showthread
find :
HTML Code:

</head>
Before it add
HTML Code:

<!-- nmisr.com canonical -->
<link rel="canonical" href="showthread.php?$session[sessionurl]t=$threadid" />
<!-- /nmisr.com canonical -->

Value of this mod :
Prevent duplicate content
Better page rank assignment to your page as a result
For more information abour the rel canonical please visit :
Google's blog post about rel canonical

note: this mod is a little present from http://www.nmisr.com/, all notices and suggestions are welcomed.
please rate or mark as installed

Shadab 10-12-2009 03:31 PM

You need to take into account multi-page threads too.

Related
- https://vborg.vbsupport.ru/showthrea...00#post1745800

abdobasha2004 10-12-2009 09:42 PM

Quote:

You need to take into account multi-page threads too.
yea I forget to mention this will make only one url for a thread including pages, i.e pages will not be indexed
in version 1.1 final - still in progress- i will make indexing thread pages as an option

abdobasha2004 10-12-2009 09:44 PM

regarding the link, I am going to make it little different to prevent if condition use, it think this will be better for server load ( a very little bit better) :)

thanks for the suggestions

ChopSuey 10-12-2009 10:49 PM

I thought duplicate content or something was a myth or whatever.

abdobasha2004 10-12-2009 10:59 PM

Quote:

I thought duplicate content or something was a myth or whatever.
of course it is not
there no penalty for it
but it dilutes the page rank

kall 10-13-2009 12:27 AM

Quote:

Originally Posted by ChopSuey (Post 1898843)
I thought duplicate content or something was a myth or whatever.

Google thinks otherwise:
From the top of:http://www.google.com/support/webmas...n&answer=66359
Quote:

Duplicate content generally refers to substantive blocks of content within or across domains that either completely match other content or are appreciably similar. Mostly, this is not deceptive in origin. Examples of non-malicious duplicate content could include:

* Discussion forums that can generate both regular and stripped-down pages targeted at mobile devices
* Store items shown or linked via multiple distinct URLs
* Printer-only versions of web pages

If your site contains multiple pages with largely identical content, there are a number of ways you can indicate your preferred URL to Google. (This is called "canonicalization".)
This tends to suggest that Duplicate Content is not a myth, and telling Google which version you wish to have indexed is a Good Thing.


All times are GMT. The time now is 05:25 AM.

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.01124 seconds
  • Memory Usage 1,728KB
  • 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_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete