MyBB Central

Full Version: SEO Not Functional
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've tried over and over again to get SEO functioning on my site, it's just not working. I ALWAYS get a 404 page on any link I click on when seo is enabled. I've tried Labrocca's Canonical plugin with absolutely zero success even after following his troubleshooting instructions to the "T". I even tried this plugin: http://mods.mybboard.net/view/google-seo and followed their installation instructions to the "T" and I STILL get nothing but 404 errors. Does anyone know what the heck is going on?

Site: http://certifiedethicalhackers.org/forums/index.php
Even with the upgrade my SEO is non-functional. It only renders 404 pages.
I'm guessing no one else seems to have this issue then because no replies after a week of waiting. Still no SEO.
Maybe your host doesn't support mod_rewrite? Contact them and ask.
Alright, I was able to get in touch with my host. Here's what they had to say:

myhostsite Wrote:Hello,

Thank you for contacting our Help Desk.

We do support the specified mod_rewrite feature. However, the .htaccess file that should enable this feature and contain the rewrite rules which are specific for each application (in your case the forum) is missing.

You should double check your component and look for the .htaccess file. It should be uploaded into your forums/ folder.

If the issue persists, you will need to contact the developers of your application or the component which you are using and ask them to provide you with the .htaccess file.

If you have further questions, you are more than welcome to contact us by opening a ticket.

Best Regards,
*DUDE'SNAME*
Technical Support Team

I honestly don't know what I should be putting inside a .htaccess file to allow this or whatnot. Any help here? Will creating this .htaccess file even solve my issue?

-ZuFu
Upload the example htacess file from google SEO and change the name to ".htaccess". You will have to edit one line in it to work though - change the rewrite base to /forums
Alright, that worked great Smile It's working now. THANKS!!!!!!!!!!
So much for following instructions to the "T".
(Apr 20, 2010, 02:31 PM)labrocca Wrote: [ -> ]So much for following instructions to the "T".

So much for reading my post. I love you too.

Considering Google SEO is a plugin YOU didn't make, and I was working with YOUR plugin, I was following your directions. I disabled and didn't even use the google seo plugin because I figured yours is much better written and more secure than that one anyways, and it is.

But if you want to throw "so much for following the instructions to the 'T'." in my face, then I would suggest you add the .htaccess information to your instructions, then your comment would actually make sense Wink

As you can see, no .htaccess was even mentioned in here. It clearly needs to be.

(Mar 21, 2009, 07:10 PM)labrocca Wrote: [ -> ]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=desc
http://community.mybboard.net/thread-34110-post-228845.html#pid228845
http://community.mybboard.net/showthread.php?mode=linear&tid=34110&pid=228845#pid228845

This plugin would instead rel=canonical into cleaner URLs:
Code:
http://community.mybboard.net/forumdisplay.php?fid=81
http://community.mybboard.net/thread-34110-page-2.html
http://community.mybboard.net/thread-34110-page-2.html

As 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=401316
will get indexed correctly as this:
Code:
http://www.hackforums.net/showthread.php?tid=1047&page=11

I 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.

I suggest before making blunt statements like that and assuming I must be stupid for not being able to figure this out, that you make sure you write your instructions fully to include this particular problem, which you obviously failed to properly observe.

However, I'm not here to fight anyone. I can be honest and say that comment pissed me off, because I've been trying to figure this out and the only comment you made in this entire thread was "So much for following the instructions to the 't'." I don't see where you even have any room at all to talk considering someone ELSE had to come in here after THREE posts I made regarding this problem and they fixed YOUR plugin using tools from A DIFFERENT PLUGIN. I hope you can understand where that might have pissed me off a little bit. I was nice about it before, but after that comment, yeah. Have a nice day labrocca, thanks for this awesome plugin now that it works. I greatly appreciate it.

-ZuFu
Canonical doesn't require any htaccess changes to work.

After reading this thread repeatedly I don't see how my plugin was the problem since the fix posted in this thread which you state worked was about Google SEO.

Quote:Upload the example htacess file from google SEO and change the name to ".htaccess". You will have to edit one line in it to work though - change the rewrite base to /forums

I'm pretty sure his plugin has instructions for altering the htaccess. Otherwise it would never work. My comment about you following instructions to the "T" was a reference to such. You mentioned it in this thread that you followed instructions but you did not.

The intent here isn't for you to get angry. It's for you to really read instructions and just when you think the problem can't be solved. Read the instructions again.

Quote:they fixed YOUR plugin using tools from A DIFFERENT PLUGIN

And yet that's not what actually happened here. Disable canonical then remove the htaccess changes. Your site will 404 again which btw it's not working for me now anyways.

You got this all fucked up and you're twisted about what the problem is. This thread is about SEO NOT FUNCTIONING but that's not any plugin of mine.


To sum this up: Canonical plugin could never cause a 404 error.
Pages: 1 2