Automatically change your footer copyright

Written by Matt on 5 January 2010

Topics: Core tips

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?

Get notified about new tips & tricks for Joomla:

RSS

Click here to subscribe via RSS feed


subscribe

Click here to receive updates via email

2 Comments For This Post I'd Love to Hear Yours!

  1. kirk Says:

    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 My ComLuv Profile

  2. Jason Mailley Says:

    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.
    Jason Mailley´s last undefined ..If you register your site for free at My ComLuv Profile

Leave a Comment Here's Your Chance to Be Heard!

CommentLuv Enabled

Subscribe without commenting

Joomla! is the registered trademark of Open Source Matters, Inc and Joomlatips.com is not affiliated with or endorsed by Open Source Matters, joomla.org or the Joomla! project.