my current setup is:
site.com/DIR/56
what I want to do is:
site.com/DIR/56/some-string-here-about-the-page
my current .htaccess setup is:
RewriteEngine on
Options +Followsymlinks
RewriteRule ([0-9]+) index.php?id=$1
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not an .htaccess expert, but it seems to me your existing setup will work. What it is doing is taking the uri given and finding an integer inside it — anywhere inside it. It then ignores all the other text in the uri, by rewriting it as index?id=$1. $1 is simply the integer found, for example, 56.
You could be more explicit and try something like this:
However, I’m reasonably sure your fancy-urls will work correctly without any change.