MyBB Community Forums

Full Version: SEO 1.0 Beta Released!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
One other thing... that is important in seo.... url canonicalization

How can we achieve this for MyBB? Will this be a future feature in your plugin?

What I want to achieve: all url's are forwarded to http://www.example.com

Currently, in myBB if you go to www.example.com it will go to http://www.example.com/
But if you type, example.com it will go to http://example.com/

Google sees this as 2 separate url's. We need to enhance the .htaccess that is for your plugin.

All of the websites that I am running under regular html, I have this in the .htaccess...

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

How can we implement a similar rule for the mybb .htaccess?

Thank you for your attention
Simply add that code to what's already in your board's .htaccess like you would any other site.
Doesn't work. How did you get it to work on your http://www.vqte.com/ website.

I think the problem is.... Here is my site structure
root -> Wordpress
/forum -> mybb

But the url canonicalization should be included in the seo plugin, or mybb code, just like wordpress does.
Any updates on this plugin? myBB 1.4.1 has been released and I am looking forward to upgrade now.
(2008-08-18, 12:25 AM)jibbajabba Wrote: [ -> ]Ive noticed that when a thread has more than 1 page when you try to go back to the previous page or pages it just sends you back to forums home page.

This was fixed few hours later after the initial release on the release day. When did you download the zip file?
august 9th was when the file was created.
Just downloaded the file again and its working fine now.
(2008-08-18, 02:41 AM)joeylogano Wrote: [ -> ]Doesn't work. How did you get it to work on your http://www.vqte.com/ website.

I think the problem is.... Here is my site structure
root -> Wordpress
/forum -> mybb

But the url canonicalization should be included in the seo plugin, or mybb code, just like wordpress does.

Simple fix. Add something like this:

RewriteEngine on
Options +FollowSymlinks
rewritecond %{http_host} ^example.com [nc]
rewriterule ^(.*)$ http://www.example.com/$1 [r=301,nc]

# //seo_mod_start
# Uncomment the following and add your forum path if rewrites arent working properly
RewriteBase /forum/
RewriteRule ^index.html$ index.php [L,NE]
RewriteRule ^(.*)-t-([0-9]+).html(.*)$ showthread.php?tid=$2$3 [QSA,L]
RewriteRule ^(.*)-t-([0-9]+)-([0-9]+).html$ showthread.php?tid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)-u-([0-9]+).html$ member.php?action=profile&uid=$2 [QSA,L]
RewriteRule ^members/(.*)-([0-9]+).html$ member.php?action=profile&uid=$2 [QSA,L]
RewriteRule ^(.*)/(.*)-f-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+)-([a-z]+)(-|-[a-z]+)-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&sortby=$3&order=$4&datecut=$5&page=$6$7 [L]
RewriteRule ^(.*)-a-([0-9]+).html$ announcements.php?aid=$2 [L]
# //seo_mod_end

to the .htaccess in the root directory and delete or rename the .htaccess in the forum directory.
Clicking on many posts now if you search under a user's posts, it just brings you to the first page of the thread ...

I had to disable this plugin until it works.
Is work still being done on this? There are a lot of unresolved issues.
One thing that I noticed that needs to be no-followed is the user's reputation. Will you add this feature? Smile
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31