mod_rewrite to make a short URL

Posted by Chris Stewart on Stack Overflow See other posts from Stack Overflow or by Chris Stewart
Published on 2010-06-16T17:41:14Z Indexed on 2010/06/16 18:02 UTC
Read the original article Hit count: 190

Filed under:
|

I have a url like:

http://skepticalgamer.com/category/slam-the-controller

I'd like to strip out "category" from the URL. So I'd want:

http://skepticalgamer.com/slam-the-controller

to act as if it were the original URL above. Is that something that can be done with mod_rewrite?

© Stack Overflow or respective owner

Related posts about apache

Related posts about mod-rewrite