How To Redirect Blogger With This Simple Script
Unlike WordPress, Blogger does not support the use of plugins, so when you need to redirect something or make unique changes, you often have to do it manually. But what if you don’t have any knowledge on how to redirect Blogger with a redirecting script?
Well, you’re in luck, because today I’m going to be teaching you how to implement a simple script I often used back when this website was hosted on Blogger. Are you ready?
Step 1: Log in to your Blogger Dashboard
This doesn’t need an explanation, just sign into your account and go to your dashboard.
Step 2: Go To “Edit HTML” In Your Template Tab
Once you’re on your dashboard, go to your “Template” tab and then go to “Edit HTML” as show in the image above.
Step 3: Copy The Redirect Blogger Script
The script is provided below (you need to change the URLs in red to your own URL). Once you have copied the redirect Blogger script, move onto the next step.
<script>version=parseInt(navigator.appVersion);if (navigator.appVersion.indexOf('5.')>-1){version=5};if (navigator.appVersion.indexOf('6.')>-1){version=6}; if (navigator.appVersion.indexOf('7.')>-1){version=7}; browser='OTHER'; if (navigator.appName=='Netscape'){browser='NS'+version;} if (navigator.appName=='Microsoft Internet Explorer'){browser='MSIE'+version;} if (navigator.appVersion.indexOf('MSIE 3')>0) {browser='MSIE3';} if(browser == 'NS5'){browser='NS6'};if (browser=='MSIE3') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='MSIE4') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='MSIE5') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='MSIE6') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='MSIE7') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='NS3') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='NS4') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='NS6') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='NS7') {window.location='https://www.sycosure.com/?tid=IDPLR'}if (browser=='OTHER') {window.location='https://www.sycosure.com/?tid=IDPLR'}</script>
Step 4: Paste The Redirect Blogger Script
Be sure to paste the script above the head. Once you have pasted it, replace the URL linking to my website with the URL you want to redirect your old website to.
Step 5: Test The Script
To test and make sure this script is working properly, simply enter the old URL where you placed the redirecting script and see if the page is redirected to the new URL. This script will redirect every page on the website to the new URL, so it doesn’t matter which page of the old URL you enter, they will all redirect to the homepage.
In addition to this, if you’re interested in more HTML codes, be sure to view my Blogger Conversion Kit. It’s free to download and comes with over 100 HTML and CSS codes that work on Blogger.
Related Articles:
- How To Properly Use The HTML Alt Attribute
- The Best Way To Learn HTML
What Are Your Thoughts?