John Chow dot Com Free WordPress Installation - Start Your Blog Today!
 

How To Update Your Blog Copyright Notice Automatically

written by John Chow on December 27, 2011

How to make $593 in less than one hour

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. :)

Did you enjoy this post? Get John Chow Dot Com updates via email...

Stay up to date with all of John Chow’s tips for making money online and blog posts by subscribing via email. Your email will be kept private and never shared with anyone.

{ 24 comments }

Rehut Team December 27, 2011 at 11:38 pm

Awesome tips

Tim Jonson December 28, 2011 at 12:03 am

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

free government cell phones

Cameron Highland Apartment Tips December 28, 2011 at 12:07 am

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

BobRoberto December 28, 2011 at 12:21 am

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

Abhik December 28, 2011 at 1:04 am

Well, I am already using that piece of code :D

Young December 28, 2011 at 6:38 am

Simple and easy to use, cool!

fas December 28, 2011 at 6:38 am

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

John Chow December 28, 2011 at 9:58 am

@fas Because every year, everyone forgets. :)

Eric J. Nisall - DollarVersity December 28, 2011 at 7:57 am

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

Eric J. Nisall - DollarVersity December 28, 2011 at 7:58 am

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

Izrada Web Stranica December 28, 2011 at 9:51 am

Thanks for the awesome tips John

Harshad December 28, 2011 at 10:56 am

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.

seosys December 28, 2011 at 12:25 pm

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

seosys December 28, 2011 at 12:26 pm

nice information i get thanks a lot buddies

seosys December 28, 2011 at 12:27 pm

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

printers ink

Mogul December 28, 2011 at 1:36 pm

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

worli December 28, 2011 at 1:37 pm

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

John Chow December 28, 2011 at 1:40 pm

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

magazin December 29, 2011 at 10:05 am

Thanks for the awesome tips

TintucICT December 30, 2011 at 1:30 am

Thanks John

John Chow December 30, 2011 at 7:01 pm

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

ZEN NGUYEN January 4, 2012 at 5:19 am

Thanks for good tip! Hapy New Year, John!

muspelheim January 21, 2012 at 7:55 pm

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

Kenny Boger February 4, 2012 at 12:45 am

good post , gonna check more from yr older post.