Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Nov 2010, 07:09
pokusek pokusek is offline
 
Join Date: Oct 2010
Question 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.
__________________
---

Last edited by pokusek; 19 Jun 2011 at 11:32.
Reply With Quote
  #2  
Old 19 Jun 2011, 11:33
pokusek pokusek is offline
 
Join Date: Oct 2010
bump
__________________
---
Reply With Quote
  #3  
Old 19 Jun 2011, 16:41
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
For starters, adding the following to your .htaccess will convert all non-www to www.
That solves half your problems


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 19 Jun 2011 at 16:50 ---------------

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.
Attached Images
File Type: png urls.png (67.6 KB, 85 views)
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!

Last edited by LifesGreatestGift; 19 Jun 2011 at 16:53.
Reply With Quote
  #4  
Old 19 Jun 2011, 17:15
pokusek pokusek is offline
 
Join Date: Oct 2010
vBulletin does not support absolute canonical URLs - that's the reason why I want to insert it into the template manually.
__________________
---
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks Photopost Pro Canonical Links Tag for SEO cellarius vBulletin 3.8 Add-ons 31 08 Jan 2010 17:41
Board Optimization Canonical URLs For CLogic SEO binaryg vBulletin 3.8 Add-ons 12 12 Aug 2009 03:30



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


New To Site? Need Help?

All times are GMT. The time now is 07:59.

Layout Options | Width: Wide Color: