PROGRAMMINGJavaScriptAUTO Update The Copyright Year of Your Website

AUTO Update The Copyright Year of Your Website

How to Automatically Update The Copyright Year of your Website

Updating the copyright year one by one on the HTML pages of your website is quite boring and time-consuming for everyone. It is now easy to update the copyright year in the Copyright Notice in the footer section of your webpage very easily and automatically with just a simple code.

SEO Benefits of Copyright Notice

Each website has a copyright notice under its content, especially in the footer section. It is good for SEO. The updated year refers to the freshness of the content, while the old year refers to the outdated content, which is not good for the SEO of your website. SO always try to update the copyright year of your website every year on all pages.

Use this code in your web pages to auto-update the copyright year every year.

For Simple Copyright Notice

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

For Year Range

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

Centering the Copyright Notice

<center>Copyright &copy; 2018-<script>document.write(new Date().getFullYear())</script> Your Website Name | All Rights Reserved.</center>

Subscribe to our Newsletter

Get the Latest Article notification and Weekly Newsletters in your Inbox.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About SAROJ MEHER

He is a Lecturer (English & Sociology), a professional Artist, and a blogger. He do paintings, sketches since his childhood. He is in the teaching field for 10 years. In this teaching line, he has experience in teaching English at High School and College levels. He has also experienced teaching computer theory and practicals during the school teaching period. He is in the Blogging field for more than 5 years.

Subscribe to our Newsletter

Get the Latest Article notification and Weekly Newsletters in your Inbox.

TRENDING ARTICLES

ARTICLESTRENDING