Apache Rewrite rule confusion

Posted by Lee on Stack Overflow See other posts from Stack Overflow or by Lee
Published on 2010-05-13T15:48:05Z Indexed on 2010/05/13 15:54 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

I'm trying to convert a simple url (below) in to a blog-style url, but not quite sure how to do it, all of my other rules are working fine, but I can't seem to figure this one out.

URL I want to convert: http://www.website.com/myblog.php?id=1&title=My+blog+title

URL I want it to create: http://www.website.com/1/my-blog-title

What should the rule be?

Any assistance appreciated :)

© Stack Overflow or respective owner

Related posts about apache

Related posts about rewrite