I'm very new with these codes but i will try to explain for your better understand.

What I want, I want to create a page in blogger which will redirect after 5 - 10 sec. and just like php we can redirect any external url (download link) through that page. I found some code but it's not redirect properly, showing you below...

```js
<h3>Page Will Redirect After <span id="countdown">10</span> seconds</h3>

<!-- JavaScript part -->
<script type="text/javascript">

    // Total seconds to wait
    var seconds = 20;

    function countdown() {
        seconds = seconds - 1;
        if (seconds < 0) {
            // Chnage your redirection link here
            window.location = "https://www.google.com";
        } else {
            // Update remaining seconds
            document.getElementById("countdown").innerHTML = seconds;
            // Count down using javascript
            window.setTimeout("countdown()", 1000);
        }
    }

    // Run countdown function
    countdown();

</script>
```

```html
With this code i made a page (example: abc.blogspot.com/p/go.html) and i add link in post "<a href="http://abc.blogspot.com/p/go.html?redirect=www.facebook.com">LINK</a>"

but it's not redirect to facebook because in code mention : "window.location = "https://www.google.com";"
```

how can i make a redirect page with timer in blogger and rediect all external links in post with html code?