2010-11-27, 02:07 PM
Pages: 1 2
2010-11-27, 02:40 PM
(2010-11-27, 02:07 PM)cyclone Wrote: [ -> ]I wonder how you can enable MyBB's Search Engine Friendly SEF URLs ?
http://mods.mybb.com/view/google-seo
2010-11-27, 03:52 PM
does your host have Mod_Rewrite setup?
2010-11-27, 05:25 PM
I have tried these steps :
Assuming that you are using the default server and you have already set the PHP FastCGI handler:
1. Go to Virtual Servers.
2. Select your server.
3. Click on "Behavior" tab
4. Edit the "Default" rule.
5. Change its "Handler" to "Redirection"
6. The interface would change. Now fill the fields:
* Type: Internal = server side, External = client side
* Regular expression: ^(.*)$
* Substitution: /index.php?q=$1
7. All your other URL rewrites should be added there.
All other URL rewrites :
^/forum-([0-9]+)\.html$ /forumdisplay.php?fid=$1;
^/forum-([0-9]+)-page-([0-9]+)\.html$ /forumdisplay.php?fid=$1&page=$2;
^/thread-([0-9]+)\.html$ /showthread.php?tid=$1;
^/thread-([0-9]+)-page-([0-9]+)\.html$ /showthread.php?tid=$1&page=$2;
^/thread-([0-9]+)-lastpost\.html$ /showthread.php?tid=$1&action=lastpost;
^/thread-([0-9]+)-nextnewest\.html$ /showthread.php?tid=$1&action=nextnewest;
^/thread-([0-9]+)-nextoldest\.html$ /showthread.php?tid=$1&action=nextoldest;
^/thread-([0-9]+)-newpost\.html$ /showthread.php?tid=$1&action=newpost;
^/thread-([0-9]+)-post-([0-9]+)\.html$ /showthread.php?tid=$1&pid=$2;
^/post-([0-9]+)\.html$ /showthread.php?pid=$1;
^/announcement-([0-9]+)\.html$ /announcements.php?aid=$1;
^/user-([0-9]+)\.html$ /member.php?action=profile&uid=$1;
^/calendar-([0-9]+)\.html$ /calendar.php?calendar=$1;
^/calendar-([0-9]+)-year-([0-9]+)\.html$ /calendar.php?action=yearview&calendar=$1&year=$2;
^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ /calendar.php?calendar=$1&year=$2&month=$3;
^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ /calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4;
^/calendar-([0-9]+)-week-(n?[0-9]+)\.html$ /calendar.php?action=weekview&calendar=$1&week=$2;
^/event-([0-9]+)\.html$ /calendar.php?action=event&eid=$1;
IT'S NOT WORKING.
Assuming that you are using the default server and you have already set the PHP FastCGI handler:
1. Go to Virtual Servers.
2. Select your server.
3. Click on "Behavior" tab
4. Edit the "Default" rule.
5. Change its "Handler" to "Redirection"
6. The interface would change. Now fill the fields:
* Type: Internal = server side, External = client side
* Regular expression: ^(.*)$
* Substitution: /index.php?q=$1
7. All your other URL rewrites should be added there.
All other URL rewrites :
^/forum-([0-9]+)\.html$ /forumdisplay.php?fid=$1;
^/forum-([0-9]+)-page-([0-9]+)\.html$ /forumdisplay.php?fid=$1&page=$2;
^/thread-([0-9]+)\.html$ /showthread.php?tid=$1;
^/thread-([0-9]+)-page-([0-9]+)\.html$ /showthread.php?tid=$1&page=$2;
^/thread-([0-9]+)-lastpost\.html$ /showthread.php?tid=$1&action=lastpost;
^/thread-([0-9]+)-nextnewest\.html$ /showthread.php?tid=$1&action=nextnewest;
^/thread-([0-9]+)-nextoldest\.html$ /showthread.php?tid=$1&action=nextoldest;
^/thread-([0-9]+)-newpost\.html$ /showthread.php?tid=$1&action=newpost;
^/thread-([0-9]+)-post-([0-9]+)\.html$ /showthread.php?tid=$1&pid=$2;
^/post-([0-9]+)\.html$ /showthread.php?pid=$1;
^/announcement-([0-9]+)\.html$ /announcements.php?aid=$1;
^/user-([0-9]+)\.html$ /member.php?action=profile&uid=$1;
^/calendar-([0-9]+)\.html$ /calendar.php?calendar=$1;
^/calendar-([0-9]+)-year-([0-9]+)\.html$ /calendar.php?action=yearview&calendar=$1&year=$2;
^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ /calendar.php?calendar=$1&year=$2&month=$3;
^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ /calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4;
^/calendar-([0-9]+)-week-(n?[0-9]+)\.html$ /calendar.php?action=weekview&calendar=$1&week=$2;
^/event-([0-9]+)\.html$ /calendar.php?action=event&eid=$1;
IT'S NOT WORKING.
2010-11-27, 05:52 PM
I believe you need to use the .htaccess provided with Google SEO for Cherokee servers.
2010-11-27, 06:00 PM
Yah but needs to have Mod_rewrite active in order for the google seo url rewrites to work.
2010-11-27, 06:00 PM
Currently I think Cherokee doesn't support anything like the Apache's .htaccess.
Mod_Rewrite in Cherokee ?? How to activate that mod_rewrite ?
Mod_Rewrite in Cherokee ?? How to activate that mod_rewrite ?
2010-11-27, 06:07 PM
Well than if Cherokee does not have .htaccess then i don't think it work, you need .htaccess to use google seo.
2010-11-27, 06:08 PM
Tbh, I don't know of a single host that uses Cherokee: most use lighttpd, litespeed or the normal Apache servers.
2010-11-27, 06:12 PM
(2010-11-27, 06:08 PM)Kyuubi Wrote: [ -> ]Tbh, I don't know of a single host that uses Cherokee: most use lighttpd, litespeed or the normal Apache servers.
Yeah i don't either, see if your host can switch you to another server platform... Or if you want to do it via ssh.
Pages: 1 2