RewriteRule ^custom-pdf\.php?id=([0-9]+)$ dl.php?type=i&id=$1 [L,NC,NS]