Redirecting to removing default Shopify policy pages.

Solved

Redirecting to removing default Shopify policy pages.

rezzsiddiqui
Tourist
5 0 2

I have made a custom page for refund policy only. And I don't want the default refund policy page to work. Right now, this URL /policies/refund-policy opens up blank page as I have removed all content. I tried to add a redirect but policy pages redirect doesn't work. And I can't seem to find how to get rid of this URL all together. 

 

Anyone have idea if this is possible?

Accepted Solution (1)

Lucid_Polygon
Shopify Partner
349 63 92

This is an accepted solution.

  • You cannot delete/redirect the default policy pages from Shopify 
  • Create new pages and just ignore this page
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

View solution in original post

Replies 5 (5)

Lucid_Polygon
Shopify Partner
349 63 92

This is an accepted solution.

  • You cannot delete/redirect the default policy pages from Shopify 
  • Create new pages and just ignore this page
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
rezzsiddiqui
Tourist
5 0 2

Thank you for your response. That is not good but we have to live with it I guess.

Lucid_Polygon
Shopify Partner
349 63 92

True. We live with it 😞

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
rezzsiddiqui
Tourist
5 0 2

I was able to do it through URL check and the redirecting to the desired location using jQuery. 

{% if request.path contains '/policies/refund-policy' %}
<script>window.location.replace("https://thefurnaceoutlet.com/pages/return-policy");</script>
{% endif %}

No official way but this works for me at the moment.

Nesha_12
Visitor
2 0 0

Hello, 

May I ask where exactly placed this redirect jQuery?