Toll Free: 1-877-695-7388

GTA: (647) 699-2838

Search Engine People
  • SEO
  • SEM
  • CRO
  • Display
  • Blog
  • Why Us
  • Contact
  • Join Our Team
  • Get A Quote

Toll Free: 1-877-695-7388

GTA: (647) 699-2838

New Year Means New Copyright Dates

Donna Fontenot | December 28th, 2007
Tweet
Share
Share
Pin
0 Shares

It's that time of year again when the new year means our sites need new copyright dates. If you still manually change the dates, this is your reminder to do so once the new year rolls around. If you'd rather not have to remember each year, you should probably switch over to some sort of dynamic method. I'm going to make an assumption here that your site uses PHP, and give you some PHP code that will automatically supply the current year in your copyright date. To output the current date using PHP, simply use the following line of code in place of your current copyright year:

which will simply output the current year, such as 2007.

You can put any normal text before or after that, so let's say you wanted the copyright line to show the copyright symbol followed by a span of years starting with 2005. You would then use:

© 2005-

which will output © 2005-2007

Wait, what? Your site doesn't use PHP or any other language except HTML, you say? That's ok. If you'd like, you can tell your server to process all HTML pages as if they were PHP pages, without changing the filenames or extensions. As long as you have access to your .htaccess file, just add this line to it:

AddHandler application/x-httpd-php .html .htm .php

Now all your .html pages will be processed (parsed) as .php pages, and the code listed above can be added to them with no problems.

Note: Parsing .html pages as .php pages means a bit more processing time added to the page load, but generally speaking, it will likely be completely unnoticeable. Still, it's something to consider first.

Tweet
Share
Share
Pin
0 Shares
Posted in Web Design

6 thoughts on “New Year Means New Copyright Dates”

  1. Dave Dugdale says:
    December 28, 2007 at 10:44 am

    Wait I thought you were a Coldfusion gal. What is up with the PHP?

  2. DazzlinDonna says:
    December 28, 2007 at 11:26 am

    1. Most people use PHP, so that seemed to be the best thing to share.

    2. I’m getting away from CF and moving to PHP.

  3. g1smd says:
    December 28, 2007 at 11:35 am

    By having a copyright date of 1996 on the page, for content written in 1996, you are showing you have had copyright on that information since that time.

    If you amend that date to 2008, you are no longer showing prior ownership of that information. I would only add the new date to new or amended content.

  4. DazzlinDonna says:
    December 28, 2007 at 11:38 am

    Right, I assumed that was obvious, hence, my example of 2005-2007. Obviously, you’d only want to replace the 2007 with the code for the current year.

  5. Dave Dugdale says:
    December 28, 2007 at 2:32 pm

    ah, I am little hurt to hear you are moving away from Coldfusion.

    Although, I will admit that I do a little PHP myself from time to time.

  6. Nathan L says:
    January 2, 2008 at 10:03 am

    I’ve been using Dreamweaver “Find and Replace” to all the files. I’ll have to think about using PHP. I’m such a newbie at it its not funny

Comments are closed.

Recent Posts

  • Maximizing Your E-Commerce Sales:
    A CRO Audit Guide
  • Movin’ On Up! Why Migrating to Google Analytics 4 (GA4) Should be a Priority
  • A Year in Review: The Digital Marketing Trends That Defined 2021
  • The Basics of Video Marketing
  • Just How Much Do Google Reviews Impact Your SEO Ranking?

Categories

  • Analytics & ROI Analysis
  • Company News
  • Content
  • Conversion Optimization
  • CRO
  • Display Advertising/RTB
  • Email Marketing
  • En Español
  • En Français
  • Inbound Marketing
  • Lead Nurture & Marketing Automation
  • Local Search
  • Marketing
  • Mobile
  • Partnership Marketing
  • PPC
  • PR
  • SEO
  • Social Media Marketing
  • Web Design

Additional Posts

Setting New Years Resolutions for your Blog

December 26th, 2007 | by Jennifer Osborne

7 Tips for Finding and Submitting Great Content to StumbleUpon

December 26th, 2007 | by Jeff Quipp

One Part Ideas, One Part Marketing, One Part Giving

December 26th, 2007 | by Donna Fontenot

LET'S TALK

Need more information or want to get in touch?

Get in touch!
  • SEO
  • SEM
  • Display
  • Blog
  • Why Us
  • Join Our Team
  • Contact Us
  • Local SEO
  • Small Business SEO
  • Enterprise SEO
  • International SEO

LOCATION

1305 Pickering Parkway,
5th Floor Pickering, L1V 3P2

PHONE

Toll Free: 1-877-695-7388
Greater Toronto Area: (647) 699-2838

Social

© Search Engine People Inc. 2023 – Canada’s Top Digital Agency
© SEP 2023 – A Search Engine People Company | Privacy Policy

Search Engine People