How to automatically update the Copyright Year on your website

0
1274
Copyright-image

The Website Copyright adds ownership to the site content and it is crucial to reinstate it every year. Updating the copyright year on your website may not be a legal requirement, but it’s smart marketing.

An updated copyright not only shows that the site is maintained but also gets it rated high on SEO search lists. As a webmaster, you may find it a frustrating task to do it on time year after year.

For updating the copyright year many people forget to do this and with this little piece of code you never have to be one of them again as this will do it for you automatically. Enter the following HTML code for the various scenarios:

Simple

<script type="text/javascript">
<p>Copyright &copy; <script>document.write(new Date().getFullYear())</script> Your Name All Rights Reserved</p>

Date Range

<p> Copyright &copy; 2014-<script>document.write(new Date().getFullYear())</script> Your Name All Rights Reserved</p>

LEAVE A REPLY

Please enter your comment!
Please enter your name here