views:

30

answers:

1

I need some help with a redirect:

How do I take any URLs with www.example.com/blog/ and anything else after it, (.*) and strip it down to just the text after /blog/?

I've never really done rewrites, so please help.

A: 
RewriteEngine On
RewriteRule ^blog/(.*)$ index.php?$1
Tatu Ulmanen