Post Reply  Post Thread 
1 Votes - 5 Average   Having trouble with the seo plugin?
avalanch
Junior Member
**

Posts: 22
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #1
Having trouble with the seo plugin?

I've seen people complaining about not getting the seo mod to work and seeing white pages etc...

Here is a solution that people often miss. Open up your .htaccess file and edit the part in blue to reflect the path to your forum as you would see it in an ftp program:

Lets say you have a site and your forum is this: http://mysite.host.com/forum then you edit the part in blue to say "RewriteBase /forum"

Or if it's: http://mysite.host.com/mybb change it to "RewriteBase /mybb" & so on and so forth.

Code:
# //seo_mod_start
RewriteEngine On
# Uncomment the following and add your forum path if rewrites arent working properly
RewriteBase /
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


Another solution is turn off native mybb rewrite to off via the admincp


http://vgchat.info
http://codeshq.site88.net
12-31-2008 07:03 PM

This post was last modified: 01-14-2009 08:19 PM by avalanch.

Find all posts by this user Quote this message in a reply
Icy
Junior Member
**

Posts: 3
Group: Registered
Joined: Oct 2008
Status: Offline
Reputation: 0
Post: #2
RE: Having trouble with the seo plugin?

Thanks a lot man!
A LOT really!

edit: it would be great if it worked.. not workin by now :|

01-11-2009 11:27 AM

This post was last modified: 01-11-2009 12:36 PM by Icy.

Find all posts by this user Quote this message in a reply
avalanch
Junior Member
**

Posts: 22
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #3
RE: Having trouble with the seo plugin?

What do you mean by its not working? care to elaborate?

Icy Wrote:
Thanks a lot man!
A LOT really!

edit: it would be great if it worked.. not workin by now :|


http://vgchat.info
http://codeshq.site88.net
01-14-2009 08:09 PM
Find all posts by this user Quote this message in a reply
elbawdy
Junior Member
**

Posts: 1
Group: Registered
Joined: Nov 2009
Status: Offline
Reputation: 0
Post: #4
RE: Having trouble with the seo plugin?

hello thanks for helping
but i did all what u said

threads working very good
but forums not

forum directory not working its blank
http://forum.alnel.com/forum-33.html

but threads working

http://forum.alnel.com/thread-41.html#pid183

11-17-2009 03:51 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: