One way or the other, I landed in trouble dumping all the posts until this time in the bin. The blog was blacked out for a couple of hours (even my RSS readers might have noted that) that really sweated me out. This insists the necessity of backing up blogs regularly especially those with thousands of posts and those which generate thousands of dollars though I’ve been lazy backing up this blog on a regular basis to come handy in case of emergencies like this. Luckily, I did a backup of this blog couple of hours before touching those codes, hence was able to retrieve the blog back into action with only minor damages (I couldn’t save the comments until now, all comments got wiped out). Thanks to Daily Blog Tips’ advice on backing up a blog.
Though I was unable to achieve the intention of a 301 redirect for missing trailing slashes and to drop www, I got a good lesson from this incident, i.e., it is best to avoid twisting those files, viz., .htaccess and MySQL without thorough knowledge in coding, that even a minute change such as adding or removing a single dot dumps your blog in trouble. It is highly advisable to back up your blog at least once in a week though you’re not able to do it on a daily basis to bail you out of emergencies like this or if the server crashes out or if there is a hacking attempt on your blog.
I restricted Google bot to not index URLs without a trailing slash by making some changes in robots.txt though it is not advisable as I would lose the link benefits coming from other sites to this blog without a trailing slash in the URLs, but I have no other go. I’m yet to find a solution for non-www options. I’ve become more of a Problogger than a medical transcriptionist nowadays, isn’t it?
PS:
- From WordPress 2.3 onwards, the canonical URL redirect (trailing slash and www problem) has been fixed. Since Yahoo hosting is using outdated WordPress version, this cannot be fixed as long as Yahoo does not upgrade WordPress and you cannot upgrade on your own as it knocks down the blog itself.
- I had to move out of Yahoo Hosting especially because of this, the bugs prevailed in the outdated version of WordPress provided by Yahoo and due to succumbing to multiple hacks because of these bugs. Check about this on “How To Shift A WordPress Blog (To A Reliable, Cheap, Fast Host)“
haha..learn from the past..from now on..backup your database frequently !!
[Reply]
u also vangardx…dun tell people only..
[Reply]
Trackbacks
Trackback URI| RSS Feed
Leave a Reply
« Previous Article - Next Article »
Most Popular Posts
Categories