![]() |
How to implement canonical URLs?
Hello. I want to implement canonical URL to avoid duplicity, because vBulletin has identical content that's accessible through multiple URLs, e.g.:
http://forums.com/threads/283 http://forums.com/threads/283-Thread http://forums.com/threads/283-anything What should I enter between these quotes to get a specific URL, that will remain still the same under all circumstances (but every page on my forum must have a unique URL)? <link rel="canonical" href="" /> Thank you for your help. |
bump
|
1 Attachment(s)
For starters, adding the following to your .htaccess will convert all non-www to www.
That solves half your problems ;) Code:
RewriteEngine On Also in AdminCP>Settings>Options>Friendly URLs> Choose the style you'd like to use, then set Enforce Canonical URL to strict, and Enforce Canonical URL for Registered Users to yes. |
vBulletin does not support absolute canonical URLs - that's the reason why I want to insert it into the template manually.
|
All times are GMT. The time now is 10:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|