My site used to generate URLs like this:
I have modified the program so the new URLs generated are:
Since some people have bookmarked the old URLs I want to write a Rewrite rule that will get them to the new url.
I've not this so far:
RewriteEngine on RewriteRule "^/data\.php$" "/d.php"
but I can't figure out how to account for the variables.