How to Create Custom URL Redirects in Shopify - eCommerce Thesis

How to Create Custom URL Redirects in Shopify

Hey Guys! Welcome to my website. In this tutorial, I am going to show you How to Create Custom URL Redirects in Shopify. This is a very easy and quick video that must work for you. Enjoy!

Add this code in theme.liquid file (inside the <head> tag)

{% unless template == 'index' %}
<script>
	window.location.replace( 'your_url' );
</script>
{% endunless %}

Redirect to Another Page After 5 Seconds

<script>
      setTimeout(function(){
       window.location.href = 'https://www.tutorialspoint.com/javascript/';
       }, 5000);
</script>
Shopify Expert
Shopify Expert

Leave a Reply