How To Redirect Blogger With This Simple Script


Redirect Blogger

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

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

Redirect Blogger Script: Edit HTML

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(&#39;5.&#39;)&gt;-1){version=5};if (navigator.appVersion.indexOf(&#39;6.&#39;)&gt;-1){version=6}; if (navigator.appVersion.indexOf(&#39;7.&#39;)&gt;-1){version=7}; browser=&#39;OTHER&#39;; if (navigator.appName==&#39;Netscape&#39;){browser=&#39;NS&#39;+version;} if (navigator.appName==&#39;Microsoft Internet Explorer&#39;){browser=&#39;MSIE&#39;+version;} if (navigator.appVersion.indexOf(&#39;MSIE 3&#39;)&gt;0) {browser=&#39;MSIE3&#39;;} if(browser == &#39;NS5&#39;){browser=&#39;NS6&#39;};if (browser==&#39;MSIE3&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;MSIE4&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;MSIE5&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;MSIE6&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;MSIE7&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;NS3&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;NS4&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;NS6&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;NS7&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}if (browser==&#39;OTHER&#39;) {window.location=&#39;https://www.sycosure.com/?tid=IDPLR&#39;}</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.

Redirect Blogger Script

 

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