Fix for redirects in .htaccess