Clean up htaccess
convert to php