How to create Safelink in blogger?

Welcome to Bytes Vibe website. In this Blogger Tutorial, we’re going to learn – How to create safelink in blogger for free with a random Post Generator. We will set up this safelink to generate a post every time a user clicks a link. Safelinks are useful for bloggers who are looking to monetize content or simply add an extra layer of redirection to their website.

bytes Vibe Video 1

A blogger safelink works as an intermediary page. It sits between the clickable URL and the final destination. This method can help blogger owner to generate ad revenue, protect links from abuse. Now let’s see How to Create a Safelink in Blogger with a Generator that Generates Random Posts Every Time.

This tool do not automatically safelink every link on blogger posts or pages. We need to use Safe Link Generator page and convert links to safe links. Than use that generated safelink where we want. And when users click on that generated safelink they will be redirected to download page and wait some times before going to the main link.

Why Should We Use a Safelink in blogger with a Random Post Generator?

Before we get into the steps on create safelink for blogger, let’s learn why using a safelink with a random post generator is helpful.

Monetization

Safelinks provide an extra layer for monetization by display ads, affiliate marketing or sponsored content.

Safelinks help protect sensitive links from bots, spam, or excessive clicks.

Step by Step Guide to Create a Safelink with Random Post Generator on Blogger

Now lets check this step by step blogger tutorial to create this safelink on blogger website. This safelink tutorial by Bytes Vibe will make sure that everything works smoothly on our Blogger site. Follow these steps to make safelink on main blog in blogger:

The first thing we need to do is to add custom css for this blogger safelink that automatically creates random posts. To add blogger safelink css follow this steps:

  1. Log in to Blogger website and Go to blogger dashboard.
  2. Go to theme section and click on Edit Html.
  3. Now search for ]]></b:skin>.
  4. As the CSS file is quite large, I have uploaded it as text file. Download the file from below and paste the codes from that file above ]]></b:skin> :

Now after adding the css, Save the changes the we did to add automatic safelink in blogger. This css willl give blogger safelink a modern and stylish look.

If you are using Fineshop Design by Bytes Vibe than instead of ]]></b:skin>, paste the css below Custom CSS (Global). Line number 1733.

Now that we have added css file to make the safelink beautiful, we need to add JavaScript to make this automatic blogger safelink useable. With this JavaScript, we will get random posts every time in blogger. Follow these steps to add JavaScript for blogger safelink:

  1. Again we need to go in blogger theme section and than go to edit Html.
  2. To Add JavaScript for Random Post Generation, search for </body> in blogger theme.
  3. Now download the JavaScript file and copy all the js codes and paste the JavaScript above </body> tag:

Now again save blogger theme. With this now we will have a fully functional safelink page for blogger. By the way if you are using Plus Ui blogger theme, than you can chech this plus ui safelink tutorial instead.

Now that we have added both css and safelink script for blogger. We need to now add safelink page in blogger site. Follow these steps to create Safelink Generator page in blogger blog:

  • Go to the Pages section in Blogger.
  • Click on New Page and name it “Safe link Generator“.
  • Now switch to HTML view in the blogget page editor and paste the following codes to create safelink Generator tool in Blogger:
<div class='panel panel-primary'>
  <div class='panel-body'>
    <div class='form-group'>
      <div class='input-group'>
        <input class='form-control' id='generateurl' oninvalid='this.setCustomValidity(&apos;Please Enter valid link&apos;)' placeholder='Enter your link here...' required='required' type='url' />
        <span class='input-group-btn'>
          <button class='btn btn-primary primary-color primary-color-border' id='btngenerate' oninvalid='this.setCustomValidity("Please Enter valid link")' required='required' type='button'><i aria-hidden='true' class='fa fa-shield fa-fw'></i> Generate</button>
        </span>
      </div>
    </div>
    <div class='hidden text-center' id='generateloading'><i class='fa fa-cog fa-spin'></i>
    </div>
    <div class='hidden' id='generatelink'>
      <div class='form-group has-success'>
        <div class='input-group'>
          <input class='form-control' id='resulturl' onclick='this.focus();this.select()' readonly='readonly' type='text' />
        </div>
        <br/>
        <div class='text-center'>
          <button class='copytoclipboard btn-sm btn btn-success' data-clipboard-action='copy' data-clipboard-target='#resulturl' id='copytoclipboard'><span class='fa fa-floppy-o'></span> Copy URL</button>
        </div>
      </div>
    </div>
  </div>
</div>
<style>
#main-wrapper{width:100%}
#sidebar-wrapper{display:none}
   <a href="https://www.bytesvibe.com" style="display:none;">Bytes Vibe</a>
<div>
</style></div>Code language: HTML, XML (xml)

Now save all the changes. This page will give us Random article with safelink whenever we input a blogger post on this.

So the link we will get from step 3 will redirect users on this blogger page. The safelink download page will contain a timer and ads to encourage users to view advertisements while they wait.

  1. Again Go to the Pages section from Blogger dashboard.
  2. Click on New Page and name it “Download“.
  3. Switch to HTML view in the page editor and paste the following code:
<div id="timer"></div>
<div class="text-center">
<button class="btn bt-success hidden" disabled="" id="getlink">Get Link</button>
<!--Your Ad Code-->
</div>

This is a Safelink Download page by Bytesvibe.com. Edit this section. Write whatever you want here.

<div class="text-center">
<button class="btn bt-success hidden" disabled="" id="gotolink">Go to Link</button>
<div style="display: inline-block; margin: auto;">
<!--Your Ad code-->
</div>
</div>Code language: HTML, XML (xml)

Now save the blogger page. User will come to this Download page by the safelink we will get from Step 3. So make sure that this page contents are attractive.

Now that our blogger safelink is set up, it’s time to start using it in our blog posts.

  1. Open the safelink generator page.
  2. Paste the link that you want to use for safelink. And than click on Generate Button.
  3. This safelink generator tool will give you a new link.
  4. Now open a blog post where we want to use the safelink. And paste the generated link whereever we want.

Now, whenever users click on this link, they’ll be taken to the Download page. And then they will be redirected to the main post post.

After doing all of the steps above if you see that the blogger Safelink Generator is not working, than this problem is because your blogger theme don’t have any jQuery installed. To solve blogger safelink not working follow these steps:

  1. Go to Blogger theme section and select Edit Html.
  2. Search for <head>. And paste the following codes below it:
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'/>Code language: HTML, XML (xml)

Now save your changes in blogger theme and this safelink problem will be solved.

1. What is a Safelink Generator?

A Safelink is a tool that converts regular URLs into safe and monetized links. When users click on a generated safelink, they are first directed to an intermediate page (usually containing ads) before being redirected to the destination link.

2. Can I use the Safelink Generator for any type of link?

Yes, you can use the Safelink Generator for any URL. This includes – blog posts, external websites, affiliate links, or file download URLs.

3. Is it safe to use Safelink in blogger?

Yes, safelink is completely safe for both the creator and the user. It is simply a tool that redirects users through an intermediate page.

Final Thoughts

So this is How to create automatic Safelink in blogger. By setting up a safelink with a post generator, we can upgrade our blog in several ways. We’ll be able to generate more traffic, increase ad revenue and keep users engaged with random content. This method is not only a great way to protect and monetize our links but also a great strategy to drive users to explore different parts of our blog.

Share this post -

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *