Fix .htaccess rewrites