views:

21

answers:

0

Hi,

On my site I have pages like "shoutbox", "admin", "blog" etc.

I want the url to look like this: http://localhost/shoutbox/post

Instead of: http://localhost/index.php?page=shoutbox&action=post

Then I'll have PHP grab the string and explode() it seperating each part, grabbing the values between the "/"'s and then use the values to load the correct page and the correct action.

What would the RewriteRule be? Could someone help me out please?

Thanks for reading.