vbSEO Canonical URL Bug Fix

by Shabbir on May 6, 2010

Canonical URL’s

If you have more than one URL for similar content it is better to specify the canonical URL for your content.

You can read more about Canonical URL’s at the official Google Blog

Bug

vbSEO is one of the few must have plugins for vBulletin but it has one bug which has almost zero occurrence but it somehow occurred with me. Somehow I am always in the midst of things where I should not be.

Coming back to vbSEO.

If you do not use specify Rewrite Rules for vbSEO and still want to have Canonical URLs, vbSEO does not add the right canonical URL’s and adds and extra &page parameter to the urls unconditionally i.e. &page=

The Bug was in vbSEO 3.3.2 for threads, forums and group but it is rectified in vbSEO 3.5 Gold PreRelease for threads but not for forums and groups.

Fix

Find

'&page='.vbseo_vb_gpc('page')

At Line 964 in functions_vbseo_hook.php and replace with

vbseo_vb_gpc('page')>1?'&page='.vbseo_vb_gpc('page'):'')

Apply the same at line 858 for groups.

The file line numbers are for vbSEO 3.5.0 Gold PreRelease

I have also reported the same to the support team and I am sure very soon it will be taken care off.

Sign up for Free Course on Ways to Make Money Online?

Don't wanna sign up but prefer posts delivered to your Inbox?

But if you are not planning to subscribe through Email. Try subscribing to RSS.

{ 0 comments… add one now }

Leave a Comment

Spam protection by WP Captcha-Free

Previous post:

Next post: