Can anyone figure this out - I know it's simple, but I can't do it. I have a bunch of links on a set of pages like this http://www.mysite.com/dan/1/mypage.html but they should go to http://www.mysite.com/dan/0001/mypage.html What is the correct regex to do this? I've tried the following: AddType text/html .html RewriteEngine on RewriteRule dan/1/(.+) /dan/0001/$1 but no joy. What am I missing? Help gratefully accepted. dan