The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change the canonical URLs
Hi,
I'd like to know how we can modify the content of the threads' canonical URLs tags in the forum part. We have a vbulletin integrated within a drupal (news posted on the drupal are duplicated on the vbulletin) and we would need the search engine to reference the portal version of our news and not the forum version. For that, we need to change the canonical URL generated by the VB Forum into the address of the portal. For example we want to reference this in google : Code:
http://lol.fureur.org/dossier/lol-guide-carry-ad-item-build-par-chaox Code:
http://www.fureur.org/forums/showthread.php?t=44639 Code:
<link rel="canonical" href="showthread.php?t=44639" /> Code:
<link rel="canonical" href="http://lol.fureur.org/dossier/lol-guide-carry-ad-item-build-par-chaox" /> It isn't possible for us to do that in a simple .htaccess :/ Is it possible to use a hook (or a hack) in order to choose the way the canonical URL is generated? If yes, how/where would you do that? Thanks in advance for the answers, please notify me if I'm posting in the wrong part of the forum. Best regards, Vivien |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|