|
Canonical v1.0
|
|
Mar 21, 2009, 07:10 PM
(This post was last modified: Mar 21, 2009 08:58 PM by labrocca.)
Post: #1
|
|||
|
|||
|
Canonical v1.0
License is attached inside extras folder by using this software you agree to the terms of that license.
Plugin Name: Canonical Plugin Author: Jesse Labrocca Plugin Website: http://www.MybbCentral.com Plugin Version: 1.0 Plugin Mybb Compatibility: 1.4x Plugin File Edits: None Plugin File Uploads: 1 Plugin Description: This plugin will allow your site to adhere to the new rel=canonical standard for better SEO by adding the tag to headerinclude. Currently working only for forumsdisplay.php and showthread.php. (read below for more details) Installation 1. Upload the file from the zip to your plugins directory. 2. Login to your admincp and ACTIVATE the plugin (Canonical) in the plugin manager. 3. Check your admincp setting under "Server and Optimization Options" and for the "Enable search engine friendly URLs?" either choose "Enabled" or "Disabled". It's best not to use "Automatic Detection". Troubleshooting: If you don't see in the source code of your forumdisplay or showthread pages the rel=canonical tag in header then in admincp edit the "headerinclude" template and on the first line add {$canonical}. Double check source code (f5 refresh). This is also NOT compatible with any SEO plugin but is compatible with default mybb SEF URLs. Testing: For easier testing I have an echo $link in the canonical.php file twice. You can uncomment them and you should see the displayed canonical URL on top of the page. Make sure to comment them again once you are done testing. More about CANONICAL ============================ Recently Google, MSN, and Yahoo! search engines created a new method for indexing urls. You can read some of that info here: http://www.mattcutts.com/blog/seo-advice...alization/ http://blogs.msdn.com/webmaster/archive/...ssues.aspx http://ysearchblog.com/2009/02/12/fighti...ur-quiver/ Currently Mybb creates many duplicate URLs. Even under their SEF the issue exists: Examples at Mybboard.net: Code: http://community.mybboard.net/forumdisplay.php?fid=81&datecut=0&sortby=rating&order=descThis plugin would instead rel=canonical into cleaner URLs: Code: http://community.mybboard.net/forumdisplay.php?fid=81As you can see from the above example link 2 and 3 are the exact same content but Mybb would have multiple URLs all displaying that content. I have in the extras folder a screenshot showing a handful of URLs inside my Google Webmaster Tools section. Take a peek. You can see the duplicate URLs that Google views: /showthread.php?tid=1047&page=10 /showthread.php?tid=1047&pid=211134 /showthread.php?tid=1047&pid=401316 /showthread.php?tid=1047 /showthread.php?tid=54074&action=nextoldest With this plugin search engines will be given the url correctly as showthread.php?tid=1047 as the main URL to index. This will also work with pages as this: Code: http://www.hackforums.net/showthread.php?tid=1047&pid=401316Code: http://www.hackforums.net/showthread.php?tid=1047&page=11I suggest you do read up on the above blog posts from the search engines to learn more about what this plugin is meant to do. DEMO: http://www.hackforums.net Thank you. |
|||
|
Mar 21, 2009, 07:10 PM
Post: #2
|
|||
|
|||
|
RE: Canonical v1.0
First in. Cheers mate. This is going to be a major plugin.
FTW Forum <-- Home of the DAMNED! I have a weird thing that happens to my sigs. Its call moderation lol |
|||
|
Mar 21, 2009, 07:11 PM
Post: #3
|
|||
|
|||
|
RE: Canonical v1.0
Awesome work ... congrats
|
|||
|
Mar 21, 2009, 07:26 PM
Post: #4
|
|||
|
|||
|
RE: Canonical v1.0
Ha ha beat you Bey Brad lol. Installed perfect as expected. Not a fault with it from my forum anyway. Great work again Labrocca.
I can see loads of work went into this one. Thankyou again. FTW Forum <-- Home of the DAMNED! I have a weird thing that happens to my sigs. Its call moderation lol |
|||
|
Mar 21, 2009, 11:11 PM
Post: #5
|
|||
|
|||
|
RE: Canonical v1.0
Wow bro, seems like you've done a lot of work on it. I think vbseo does the same job for index page only.
|
|||
|
Mar 22, 2009, 02:49 PM
Post: #6
|
|||
|
|||
|
RE: Canonical v1.0
Is there any way to use it with Lighttpd?!
|
|||
|
Mar 22, 2009, 05:46 PM
Post: #7
|
|||
|
|||
|
RE: Canonical v1.0
I don't see why it won't work. It's just php.
|
|||
|
Mar 22, 2009, 06:50 PM
(This post was last modified: Mar 22, 2009 07:10 PM by bobo.)
Post: #8
|
|||
|
|||
| RE: Canonical v1.0 | |||
|
Mar 22, 2009, 07:15 PM
Post: #9
|
|||
|
|||
|
RE: Canonical v1.0
If you have mybb running this plugin will work one way or another.
|
|||
|
Mar 23, 2009, 08:38 AM
Post: #10
|
|||
|
|||
|
RE: Canonical v1.0
Very nice, testing it right now
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Upgrade
Search
Member List
Calendar
Contact
Help
Tagpad



