Don’t forget .htaccess

By Martin  on March 22nd, 2009

The other day I decided to do some maintenance on this site. The first thing I did was to do a backup of all files, by downloading via FTP. Then I did some changes locally, deleted this blog on the server, and uploaded it again. Since I hadn’t changed anything that could possibly go wrong I didn’t test the site afterwords, I just check that it was there on devcase.com and it was. Big mistake. In fact, it was only the fist page that was good, no other pages worked and I didn’t notice until today, a few days later.

What had happened was that the FTP program ignored hidden files, which includes the essential .htaccess which meant that the Apache web server didn’t know how to serve my permalinks. It was my fault obviously, not a fault of the FTP program. It as a background task while doing other things but I should have been more careful and pay more attention to what I was doing. Oh well, it won’t happen again.

In Web

No comments yet.

Leave a reply


Comments links could be nofollow free.