Disclosure: Some of the links to products in this article are affiliate links. It simply means, at no additional cost to you, we’ll earn a commission if you click through and buy any product.

Blogspot is a free platform by Google and being Free it has lots of limitations, but with the help of simple coding one can eliminate all those restrictions. URL redirection is one of that issue that you can’t perform in Blogger.

In Blogger you are not allowed to redirect blogger URL to another website, but this article will help you to redirect as much URL you want like WordPress.

It is just the game of some simple coding and later on you can redirect blogger URL to any other URL.

What You Will Learn?

  • Redirect URLs Within Site
  • Redirect Blogger Post/Page URLs To Another Website
  • Redirect Complete Blogger Website To Another Website

How To Redirect Blogger URLs Within Site?

By following this procedure you can redirect one URL to another of same site. But this will not work to redirect to another website.

  • Sign In to Blogger Dashboard > Choose Site > Navigate To Settings > Errors and redirects
  • Click Custom redirects > Add
Settings > Custom-Redirects > Click Add
  • In the From box enter the URL you want to redirect
  • In the To box enter the URL on which you want to redirect
  • Make sure that you are not including the domain name in any of the box
  • Enable Permanent option and click ok

Ex: 2020/12/one-url.html

Enter all the urls you want to set redirection & set for permanent
  • Click Save to activate the redirection
save

For more Redirections follow the same method

How To Redirect Blogger URLs To Another Website?

Here you will the method to redirect the Blogger URLs to another website. For this you have to add a few lines if code.

I will share two codes one is for redirecting the whole site while another one is to redirect any specific site.

Do these things before applying

  • Take a Backup of the site
  • Change present Blogger with the available basic themes in Blogger

How To Redirect Blogger Website To Another Website/URL?

  • Sign in to Blogger Dashboard > Theme > Click on Down Arrow > Edit HTML
Theme > Edit HTML
  • Use CTRL + F to Search for <head>
Search<head>
<!-- Redirect Blogger Website To Another Website/URL Code -->

<script type="text/javascript">

var d='<data:blog.url/>';
d=d.replace(/.\/\/[^\/]/, '');
location.href = 'https://www.hextoid.com/';
</script>

<!-- Redirect Blogger Website To Another Website/URL Code -->
  • Copy the above code and replace https://www.hextoid.com/ with your website on which you want to redirect
  • After replacing the address paste the code under <head>
  • Save
Paste code under save

That’s all.

Now if you will try to visit your blogger site it will redirect to the website that you have added in the code.

How To Redirect Blogger URLs To Another Website URL?

If you already applied the above code remove the previous code before applying this.

  • Sign in to Blogger Dashboard > Theme > Click on Down Arrow > Edit HTML
Theme > Edit HTML
  • Search for <head>
Search
<!-- Redirect Blogger URLs To Another Website URL Code -->

<script>
if(window.location.href == 'https://www.hextoid.blogspot.com/2020/12/blogger-post-link.html')

{
window.location="https://www.hextoid.com/wordpress-post-link/";
}
</script>

<!-- Redirect Blogger URLs To Another Website URL Code -->
  • Copy the above code and replace https://www.hextoid.blogspot.com/2020/12/blogger-post-link.html with the blogspot URL and
  • Replace https://www.hextoid.com/wordpress-post-link/ with URL of another site on which you want to redirect
  • After replacing the address paste the code under <head>
  • Save
Paste post code under save

That’s all

If want to set Redirections for multiple URLs use this code multiple times with different URL you want to redirect.

Ex:

<!-- Redirect Multiple Blogger URLs To Another Website URLs -->
<script>
if(window.location.href == 'https://www.hextoid.blogspot.com/2020/12/blogger-post-link.html')

{
window.location="https://www.hextoid.com/wordpress-post-link/";
}
</script>

<script>
if(window.location.href == 'https://www.hextoid.blogspot.com/2020/12/blogger-post-link.html')

{
window.location="https://www.hextoid.com/wordpress-post-link/";
}
</script>
<!-- Redirect Multiple Blogger URLs To Another Website URLs -->

This is how you have to use.

Wrap Up

I hope this article would be useful for you to set Redirections in blogger site for within the site and on the another site too.

Similar Posts