help with .htaccess RewriteRule

Posted by FFish on Stack Overflow See other posts from Stack Overflow or by FFish
Published on 2010-05-29T13:32:50Z Indexed on 2010/05/29 13:42 UTC
Read the original article Hit count: 303

Filed under:
|
|

What is the rewrite rule for following URL

mysite.com/001234-some-keywords.html

I want to capture the 6 digit reference number something like ([0-9]{6})
my indexed file is

templates/default/index.php?ref=001234

One day I do a crashcourse regex.. I promise.

© Stack Overflow or respective owner

Related posts about regex

Related posts about .htaccess