You have reached this page because the YEAR stamp in your website's footer is outdated. This is one of the errors we noticed on your website.
In fact, there's no need to manually update it at the beginning of each year because thereβs a simple one-line code that can do this automatically. Unfortunately, many web designers are not aware of this.
All you need to do is change the code in your footer as described below and save it. You'll see that the year information is instantly corrected, and it will update itself at the beginning of each year. You wonβt have to worry about this issue ever again.
Just log into the control panel of your website and go to the Copyright section of the footer. You will see a piece of code that looks like this:
<div>
Copyright Β© 2023 - Your Website
</div>
Next, replace the year βhighlighted aboveβ with this JavaScript code, i.e. copy & paste this:
<script type="text/javascript">var year = new Date(); document.write(year.getFullYear());</script>
β οΈ If your browser has translated this page into your language, make sure that you copy the code from its original view in English, as seen in this screenshot:The final content should look like this:
(without the highlight, of course π)
<div>
Copyright Β© <script type="text/javascript">var year = new Date(); document.write(year.getFullYear());</script> - Your Website
</div>
Then, save and exit.
Now, go to your website and refresh your page to see the update! That's it!Β
π π
Feels great to know that it will update automatically on every January 1st, right?
π
This JavaScript code is universal, meaning it works everywhere in the world. As you can tell from its content, it contains no links to external websites. Itβs a risk-free, practical, simple, yet incredibly useful code that makes things easier.
No, unless 15% of your revenue is significant for you!
π±
Marketing experts warn that errors on a website can deter around 15% of visitors from making a purchase.
Is this a negligible amount for you?
If you find this information helpful, why don't you consider supporting our projects?
You can show your support either by leaving a tip:
Or by downloading some of the artistic photos of flowers taken by our team members as a hobby... you can use these high-resolution pictures as wallpapers on your computer or phone:
Your contribution helps us prioritize our projects and continue creating content like this. π
If you implement this code on your website, please send an email to let us know that our work helped someone!
π₯³
In order to describe the code in simple terms, the example above shows a single-year span. If your website has been "on air" for longer than one year, i.e. if it's older than the current year, it's best to show a range of years such as;
Copyright Β© 2019-2024 Your Website
where 2019 represents the year your website was launched and 2024 represents the current year. In this case, the code should be modified as:
<div>
Copyright Β© 2019-<script type="text/javascript">var year = new Date(); document.write(year.getFullYear());</script> Your Website
</div>
On any website, you can check the HTML code behind a copyright notice with these simple steps:
1. Select the 4-digit year text.
2. Right-click.
3. Click "Inspect".
Next;
4. Click either the arrow or the ellipsis marked below.
The code is right there!..:
Without the JavaScript code, i.e. if the copyright year was written using simple text, then it would look like this:
Would you like to give it a try?
Just scroll down to the bottom of this page and "inspect" the YEAR in our footer!
β π