Click to go to USFreeAds' website
About
This website is all about strategies to help you grow your niche store empire. I have many Build A Niche Store sites and use the strategies that I share here.
Newsletter
Subscribe to my posts and get all of the latest tips and strategies sent directly to your email!
Delivered by FeedBurner
RSS Feed
Get the most recent posts and comments sent to you directly by subscribing to my RSS feeds!
Subscribe to RSS! Subscribe to RSS Comments!

Feb
9

How to Save Original Code Before Changes Are Made

RochelleHow To...

Before you make any changes to your site’s code, no matter how small the change, you should copy the original code and save it in Notepad (or equivalent). Why? Because if you make a mistake you can easily fix your error by pasting your original code back and saving it. Mistakes are easily undone this way. And if you didn’t save your original code and make a mistake it can be a painful process undoing what you did, especially if you don’t understand HTML or css code.

 

My instructions to save original code before any changes are made to it:

Step One
  Go to the document you want to change.
Step Two
  Copy the entire code (Windows CTRL+A, Mac CMD+A).
Step Three
  Open Notepad (or equivalent program but not a word processor as that will muck up the code) and paste (Windows CTRL+V, Mac CMD+V) your copied code to the Notepad.
.

You now have the original code to revert to should you make a mistake in modifying the code.

If you have additional changes to make it is best to save a copy of the code after each change. For good measure you might want to save the code from the original copy somewhere on your computer in case you decide to discard all changes, but that’s up to you.

Rochelle

Related Posts:

  • How to edit files such as .htaccess and FrontControl.php
  • How to Add StatCounter Code to Your Site
  • How to Add ‘Refer a Friend’ Code to Your Site
  • How to Add ‘Bookmark This Site’ Code to Your Site
  • How to Add Multiple RSS Content Pages to Your Site
  • How to Add a Disclaimer to Your Site
  • Colors for Main Template
  • How to Change the ‘View more items on eBay’ Wording
  • How to Add A Robots.txt to your site
  • RSS feed | Trackback URI

    21 Comments »

    Comment by Rochelle
    2008-02-10 13:16:57

    Sissy asked on another post how I keep all my save documents organized. It was a good question and I am copying my answer to her here.

    When I save copies I don’t actually ’save’ them to my computer. There would be far too many files to save if I did this. What I do is open Notepad and paste my code to it. I will open as many new Notepad files as I need but I don’t save any of them so they are all untitled.

    I leave each Notepad open until I am positive I no longer need the original code. When I’m sure I no longer need it I close the Notepad file.

    If I made a mistake and need to revert to the original code then I go through each open Notepad and figure out which is the one I need. This shouldn’t be too hard as the bulk of the code will be the same as the one I modified.

    Rochelle

     
    Comment by Shawn Subscribed to comments via email
    2008-08-07 10:27:00

    Nice one, I use notepad++ myself, which is much better than the stock notepad that windows comes with.

     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Subscribe to comments via email
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

    Trackback responses to this post