It’s extremely important to setup and update the copyright year on the footer of your website.
Why? Because:
- It builds trust
- Indicates your website is up-to-date
- Shows you care
This is also good for SEO because search engines will view it as your site being up-to-date.
The smallest things go a long way and keeping your website’s copyright year up-to-date is one of them. Instead of manually updating the copyright every year, you can install this simple code to have it automatically update itself!
I found this to be a big help! Just paste the following code in the section where you display your copyright year:
For HTML:
Copyright ©
<script language=”javascript” type=”text/javascript”>
var today = new Date()
var year = today.getFullYear()
document.write(year)
</script>
<?php echo date(“Y”) ?>
For PHP:
Copyright ©
<script language=”javascript” type=”text/javascript”>
var today = new Date()
var year = today.getFullYear()
document.write(year)
</script>
Copy and paste the above code into notepad to clear any style settings attached to it and then copy from there and paste it on your website. That’s it!