RewriteEngine On

#Change /dp/ into your DiY-Page path, such as /bbs/
#Use / for the root directory
RewriteBase /dp/

RewriteRule (pagetype\-+[a-z0-9\-]+\.html)$ dpindex.php?$1