Welcome to the chiplate blogger tutorial. Today I will show you How to Automatically Redirect a Webpage with the HTML Meta Tag
If you add automatic redirects to the website, the website will redirect automatically after a certain period of time. By adding Auto Redirect, the Auto Redirect is done by the website itself. Not an important setting on the website, but it will do a lot of work. One thing to always keep in mind is that users may leave the website if they get auto-redirected frequently. At low times, automatic redirection time is between 45 seconds and 75 seconds.
Step 1: First, login to your Blogger Blog website.
Step 2: Then enter 'Edit Html' in the 'Theme' option on the Blogger website's desboard.
Step 3: After going to 'Edit Html', click anywhere and search for '<head>' by clicking 'Ctrl + F' on the keyboard.
Step 4: Copy any code from below and paste it after the '<head>' tag.
Step 5: Click on the Save button to finish the process.
Code: For 10 seconds
<meta content='10;url=https://www.chiplate.com/' http-equiv="refresh"/>
Code: For 40 seconds
<meta content='40;url=https://www.chiplate.com/' http-equiv="refresh"/>
Code: For 60 seconds or 1 Minutes
<meta content='60;url=https://www.example.com/' http-equiv="refresh"/>
content='25;url=https://www.chiplate.com/': This attribute specifies two things:
Above you have an auto-redirect code and where the content attribute has number that represents the countdown in seconds, so you can add 10/20 seconds or even seconds as you wish. And after that you have to give the URL where redirecte will be.
If everything is given, the page will redirect after specified time.
Content is always calculated in seconds, not minutes.
Always keep a backup of the template XML file. As a result, if there is any problem in the XML file, the problem can be solved with the backup file.