Thread:Extension talk:DumpHTML/Keep URLs / create .htaccess with redirects?

Is there any way to generate an export/dump that uses the exact same URLs for the dumped content as were used for the normal wiki? Or at least have it write a .htaccess file which redirects all the old URLs to their new locations?