Apache mod_rewrite: what am I doing wrong?
You are trying to trap URL's like /0/title
, but you don't have a slash /
in your match pattern. Try this instead:
# Should match /01234/anything# with the "/anything" optionalRewriteRule ^([0-9]+)(/.*)?$ index.php?id=$1 [L]