Fixed rewrites for all extensions except / php and .htaccess