Web Development

Happy New (Copyright Footer Update) Year

By Justin Seibert| 2 Min Read | January 4, 2011
LinkedInFacebookTwitter

Hopefully your New Year bounded in with a modicum of purpose as opposed to a soap opera of drama.

As site owners or Webmasters, the first thing we’re expected to do before the clock strikes midnight is update our copyright dates in the footer of our precious web properties.

There’s nothing quite as irksome as the average copyright date. For something so seemingly worthless it can’t half make you look an amateur operation should you apparently forget which year it is. Not that anybody comes onto your site to check these things, but, if they do happen to notice, your brownie point return is diminished.

As for whether it’s a search engine ranking factor and its importance is anyone’s guess, but let me just show you a handful of ways to automate the process so you can remain hungover on New Year’s Day 2012 without fearing a personal Y2K meltdown of some sort.

The following code snippets are dependent on the type of site you’re running. Simply copy & paste any of them into the footer of your respective pages or site:

PHP:

Copyright © 2011-< ?php echo date("Y"); ?>

Or

< ?php $time = time () ; $year= date(“Y”,$time) . ”
“; echo “Copyright 2011 – ” . $year; ?>

ASP:

< %response.write("Copyright 2011- "&Year(Date))%>

Or

Copyright © 2011-< %=Year(Date)%>

Or

< % Dim yy yy = DatePart(“yyyy”,Now()) %>Copyright © 2011-< %=yy%>

ASP.NET (C#):

< %Response.Write(System.DateTime.Now.Year.ToString());%>

JAVASCRIPT (for static HTML pages):

Copyright © 2001-

Please feel free to share any alternative methods you may have up your sleeves.

[cap doff]


Full-Scope Online Marketing Services | justin-seibert-headshot

Written by Justin Seibert

Justin Seibert is the President of Direct Online Marketing. Justin holds a Bachelor of Arts from Vanderbilt University. He contributes a wide range of online business-oriented topics, including the subject of exporting. His contributions can be found on publications such as the Pittsburgh Business Times, AdAge, SES Magazine, and La Voz del interior. Justin and his family enjoy learning about new cultures during their travels.

View Justin Seibert's Full Bio

Related Articles

All Blogs
Your Post-Acquisition Website Integration Toolkit
By Ryan Norman| 11 Min Read | August 7, 2024

Your Post-Acquisition Website Integration Toolkit

Updated: 8.7.2024 Acquiring a new company often comes with the exciting yet challenging task of…

Read Article right arrow
hit-the-ground-running-on-new-website-launch-day-dom-blog
By Ryan Norman| 12 Min Read | July 26, 2024

Hit the Ground Running on New Website Launch Day

Updated: 7.26.2024 Launching a new website is like opening the doors to a brand-new store.…

Read Article right arrow
SEO for Marketo | Digital Marketing for Marketo | SEO Tips for Marketo Blog Graphic
By Jim Foreman| 6 Min Read | June 3, 2024

SEO For Marketo: 5 Advanced Tips For Marketo Success In 2024

Updated 8/26/2024 As highly capable digital marketers, we have an unprecedented number of tools to…

Read Article right arrow