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
On-Page Optimization | How To Optimize Your Website For ChatGPT
By Billy Wright| 8 Min Read | March 31, 2024

How To SEO Your Website For ChatGPT

Updated: 07/03/2024Optimizing your website for ChatGPT is increasingly important these days. With so many people…

Read Article right arrow
Web Design Experts | the top to scariest web design mistakes you can make and what to do instead
By Matt Merlino| 17 Min Read | October 31, 2023

The Top 10 Scariest Web Design Mistakes You Can Make (And What To Do Instead)

Marketing professionals are always a little queasy around Halloween. It’s not because we ate too…

Read Article right arrow
Website Optimization | Optimize Your Website Graphic
By Rob Ricci| 5 Min Read | October 2, 2023

Improve Website Performance With Faster Loading Times and Better User Experience

A website is one of the first impressions a consumer is going to have with…

Read Article right arrow