How to automatically update the Copyright Year on your website


Disclosure: When you purchase through our affiliate links, we earn some commission. This helps us to keep this site running. There are no extra costs to you at all by using our links. Here are more details about our affiliate disclosure

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:


<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>


Please enter your comment!
Please enter your name here