1

(5 replies, posted in PunBB 1.2 discussion)

thanks, though i see the url briefly that look promising.

again, thanks.

I have a bunch of URL formats that I'd like to make them search engine friendly. They are, for example:

http://localhost/?show=media&cid=1
http://localhost/?show=pages&cid=1&pages_id=2&detail

I tried to use this .htaccess code below but it didn't work.

RewriteEngine On 
RewriteBase /ms
Options +FollowSymLinks 

RewriteRule ^([^/]+)/$ index.php?show=$1
RewriteRule ^([^/]+)/([0-9]+)/$ index.php?show=$1&cid=$2
RewriteRule ^([^/]+)/detail/([0-9]+)/([0-9]+)/$ index.php?show=$1&cid=$2&pages_id=$3&detail=1
RewriteRule ^gallery/detail/([0-9]+)/([0-9]+)/$ index.php?show=gallery&cid=$1&gallery_id=$2&detail=1
RewriteRule ^polling/result/([0-9]+)/([0-9]+)/$ index.php?show=polling&cid=$1&polling_id=$2&results=1
RewriteRule ^polling/vote/([0-9]+)/([0-9]+)/$ index.php?show=polling&cid=$1&polling_id=$2&votes=1
RewriteRule ^gallery/image-detail/([0-9]+)/([0-9]+)/([0-9]+)/$ index.php?show=gallery&cid=$1&gallery_id=$2&gallery_images_id=$3&detail=1
RewriteRule ^artist/detail/([0-9]+)/$ index.php?show=artist&pages_id=$1&detail=1
RewriteRule ^news/comment/([0-9]+)/edit/$ index.php?show=comments&comment_id=$1&edit=1&stype=news
RewriteRule ^news/comment/([0-9]+)/delete/$ index.php?show=comments&comment_id=$1&delete=1&stype=news
RewriteRule ^albums/comment/([0-9]+)/edit/$ index.php?show=comments&comment_id=$1&edit=1&stype=albums
RewriteRule ^albums/comment/([0-9]+)/delete/$ index.php?show=comments&comment_id=$1&delete=1&stype=albums

I'm sure that mod_rewrite is working, as I test it using a simple redirect rule such as:

RewriteRule ^index\.php index.html

in other directory, and it worked fine.

I'm guessing that the problem is in the rewrite rules, but I ran out ideas to find the solution. I tried to google, and read a bunch of articles and postings with no luck. I even tried to generate the rules using an online rewrite generator, but still doesn't work.

Thanks in advance.

3

(5 replies, posted in PunBB 1.2 discussion)

thanks for your reply.

I tried to search the answer #2 both in Wiki & forum to punres.org but seems I can't find it... would you give me some directions?

thanks

4

(5 replies, posted in PunBB 1.2 discussion)

First, pardon my English, it's not my natural tongue smile.

This is a first time I'm using PunBB and I've already two questions:

1. I see that punbb has a very small size, which is what appeal me in the first place. The question is: is it adequate to run a forum which has around 200 posts or views a day? Please provide a link if you have.

2. How do I install punbb into a production site after I modified both styles and appearance in my own PC? I tried to empty the Cache dir, changed config file, but they didn't work.

Thank you in advance.