I download the htaccess file, add a 301 redirect rule to the end of it, upload the file to the server and it causes an Internal Server Error 500.
The weird thing is that when I remove the line I've added from the htaccess file and re-upload it, the Internal Server Error is still present and the site is broken.
Does anyone know what might be causing this?
Thanks,
Andy
Maybe it's wrong file coding. Open your .htaccess file in Notepad++. After running editor and entering the content into the edited htaccess file, click on the Format tab and make sure that the selected text encoding is UTF-8 (without BOM). Then save the file and resend it via FTP server (use FileZilla client). Maybe it help.