Automatically change your footer copyright

Written by on January 5, 2010 in Core tips - 5 Comments

Another year passes by with all the usual fun and frivolity, however, Did you remember to change your Copyright on your website footer?

Chances are, this wasn’t too high on your list, and you might overlook it until somebody mentions it to you in May.
There is no reason to have to do this yearly maintenance if you don’t mind doing a little cut and pasting.

First, find where your copyright is inserted. In Joomla, it is generally at the bottom of the templates index.php file. Depending on the template, it may be in a different location. Your mileage may vary.

joomla copyright

Now, we will simply change the 2009 date, to this bit of php code:
(Remove the space after the < and before the >)

< ?php echo date('Y');? >

So it looks like this now.

self updating copyright

Pretty sweet right?

About the Author

Matthew King is the excessively caffeinated head of customer service and system administrator for JoomlaJunkie. He loves paintball and dry humor. Matt also sells web hosting and does website design at ColumbusGEEK.com. He is based in Columbus, Ohio (USA).

5 Comments on "Automatically change your footer copyright"

  1. kirk February 1, 2010 at 6:41 pm · Reply

    Greatest tip ever !!!
    I have done this on a few websites, but not all of them. I will eventually makes this standard on everything I do.
    .-= kirk´s last blog ..Marines Memorial Association =-.

  2. Jason Mailley March 4, 2010 at 11:55 am · Reply

    Those details are more important than people imagine. I just finished to make a privacy policy, something else that can affect your SEO although most people are unnaware of it.

  3. Rebekka March 6, 2011 at 4:58 am · Reply

    There are no words but these two: THANK YOU! I’ve been working on trying to learn Joomla for my business for the past several weeks and for the tasks I’m trying to complete on my website today, you decreased my stress level by a good 1/3. Thank you so much for your clear (and easy) directions!

  4. jay June 18, 2011 at 2:54 am · Reply

    Thanks pal…

  5. indra July 1, 2011 at 2:14 pm · Reply

    thank you Mr Matthew :)

Leave a Comment