
Just wanted to write a quick post about why you might get a "500 Internal Server Error" message after editing your .htaccess file.
This happened to me a few days ago, but i just ignored this message and used some work-around (can’t remember what exactly i did during that time). But i wanted to find the real issue behind this error as it was getting annoying having to encounter it more often.. I was able to pin-point the cause of the problem in matter of a few seconds.
But the weird thing is that i first tried doing a quick search for “500 Internal Server Error caused by editing .htaccess file” on Google; which was a very specific search, but i couldn’t find anything specifically related to my issue. I am sure i would have eventually ended up with a good result, but time was a factor here
So that is the reason behind this post, I’m writing this for future reference and in case anyone else who might stumble upon this issue.
OK, I know; Enough talk. The issue was the character encoding of the file.
I was using the Komodo IDE instead of of my usual Notepad+, I noticed my Komodo was setup to save all files in the UTF-8 character encoding; so i decided to change the file encoding to Western European CP1252, then saved the file again and BOOM! It worked
Please let me know if this helped you
{ 3 comments }

Adding Numbers to Your WordPress Comments
November 13, 2010I was just working on making custom theme, and thought of displaying numbers for each comments that are posted. I have done this before prior to wordpress version 2.7 – but since then a lot of things have changed, I noticed the need to change things around a little to achieve the wordpress comment numbering. [...]