Author: Becky Bruso
😥Last night at this very time, I had no idea what I had done to break my site. Okay, so 10:30 pm isn’t the best time to start modifying your website, but lately it seems like that is the only time I am able to get a couple quick fix items in. Last night was no exception.
I wanted to claim my Google+ account and link up Google+ to my website. I found the information needed to add to the code for my homepage, a simple one liner, <link rel=”author” url=”your google+……”/>”
Always backup your website before doing any change, no matter how small your change is. ~Becky’s note to self
I thought, okay, replace the “your google+…” with my website Google+, copy, paste, and done. Right? No big deal, no sweat. Should be all done and I’ll be in bed by 10:45.
Why You Should Backup Your Website Before You Make Changes
Not so, not so, Murphy’s Law always prevails. And, this is only because I didn’t follow my own rule: Before you do any work on your website, no matter how simple, take a backup!
MThroughout my work in information technology and software, the rare times I didn’t follow this advice, always burned me. Last night, this was no exception either. In my simple cut and paste, I totally broke my site! It wasn’t clear to me immediately that I had accidentally deleted or pasted over or otherwise trashed a curly brace } in the code. This made my site show up as a blank white page. Not what you want to see anytime, but especially at 10:30pm.
Well, fortunately I have a strong troubleshooting background and was able to compare my test site’s header code to my live site’s header code and find the missing curly brace } in under 10 minutes. Phew!!! Disaster and a long sleepless night averted!
It is really easy to put things back the way they were, IF you took a backup before you did any changes!
My advice to you is always backup your website before doing any change, no matter how small. My fix didn’t take long to figure out, but it could have been worse. The change I was doing didn’t even call for a really big backup either; all I had to do was make a copy of one file on my site.
For me, this has been noted and proven true once again. It one of my personal lessons learned I want to share to help others. It is really easy to put things back the way they were, IF you took a backup before you did any changes!