How To Update Your Blog Copyright Notice Automatically

A new year is almost upon us, and that means it’s about time to update that copyright notice to say 2012. If your blog doesn’t have a copyright notice, you should add one right away. Many bloggers may consider this a relatively minor issue but from a professional and branding standpoint, making sure your blog has a copyright notice with the correct information is very important.

For most bloggers, this is a simple task of logging into the WordPress admin panel and editing the footer.php file in the themes editor. Find the part that says Copyright 2011 and change it to say Copyright 2012. Because this is done only once a year, many bloggers will forget to update the copyright notice until someone points it out to them.

How To Auto Update The Copyright Notice

Instead of manually updating the copyright notice once a year, there is a simple way to make WordPress do it automatically. Start by Logging into your WordPress themes editor and open the file that holds your copyright information. For most WordPress themes, this will be the footer.php file. Keep in mind that you can only edit a file from the WordPress editor if the file permission is set to writable. If the file is not writable, you will have to FTP in to change the permission, or update the file using FTP.

Find the part with the copyright notice and replace it with the following.

Copyright &copy; <?php echo date(‘Y’); ?> Blog Name

Instead of hard coding 2012 into the copyright notice, you replace it with <?php echo date(‘Y’); ?>, which will automatically pull in the year from your web server calendar (the “&copy;” creates the copyright C logo). This only works if your server is set to the correct year. If it’s not, you’ll have to contact your web host and get them to adjust the date. In my case, I like to do my copyright from the year the blog started. The code will look like this.

Copyright &copy; 2005 – <?php echo date(‘Y’); ?> John Chow, Inc.

Now, instead of trying to remember to update the copyright notice at the beginning of a new year, the blog will do it for you automatically. That is, as long as the clock on the server is correct. 🙂

24 thoughts on “How To Update Your Blog Copyright Notice Automatically”

  1. Tim Jonson says:

    I think it’s very informative tips. Thanks for sharing the useful article.

    free government cell phones

  2. save time to do it manually. thanks for the head ups John

  3. BobRoberto says:

    Wow! This is a very informative post John. I have not known this trick before and would like to try this one. Thanks John.

  4. Abhik says:

    Well, I am already using that piece of code 😀

  5. Young says:

    Simple and easy to use, cool!

  6. fas says:

    Every year John has the same post on the same date ;p

    1. John Chow says:

      @fas Because every year, everyone forgets. 🙂

  7. For all of the blogs on blogging design & tips, I have never seen this mentioned before. Thanks!

  8. For all of the blogs on blogging design & tips, I have never seen this mentioned before. Thanks!

  9. Thanks for the awesome tips John

  10. Harshad says:

    I see so many websites and blogs with previous years in their copyright and it sucks big time… such a small thing can affect sales and trust.

  11. seosys says:

    awesome data you share here , its very appreciable work thanks for this

  12. seosys says:

    nice information i get thanks a lot buddies

  13. seosys says:

    awesome data you share here , its very appreciable work thanks for this

    printers ink

  14. Mogul says:

    Yeah it’s shocking how many people haven’t figured this one out. Old copyright notices make sites you dated and unloved.

  15. worli says:

    Is it necessary to use php? Or we can simply paste copyright notice is footer?

    1. John Chow says:

      @worli You can simply paste the above code into your footer.php and it will work.

  16. magazin says:

    Thanks for the awesome tips

  17. John Chow says:

    Because books are copyright from the year they’re written.

  18. ZEN NGUYEN says:

    Thanks for good tip! Hapy New Year, John!

  19. muspelheim says:

    As always, great heads-up from the inimitable Mr. Chow.

  20. Kenny Boger says:

    good post , gonna check more from yr older post.

Comments are closed.