I'm seeing a message about an "Issue with page redirect" when I'm in Theme Settings. How do I fix that?

Shopify recently made a change to their theme editor, which made it more sensitive, so this error has occasionally started appearing on some shops which have the IP Redirect Plugin installed:

Screen_Shot_2016-02-25_at_9.48.49_AM.png

 

To fix this:

  1. Click the "here" link or just go to Admin > Themes > Edit HTML
  2. Open redirect.js under Assets
  3. Around line 66 you will see this:
    window.location.assign(redirectUrl);

    Change it to

    window.top.location.assign(redirectUrl);
  4. Save

It should now be fixed and that error should no longer appear in theme settings.   (For clarity, this change won't affect anything on the front end of your store. It's just an error thrown by the new, more sensitive Theme Settings Editor).

Done!

Change.png

 

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    helly

    Hello, Some how i can't find redirect.js file into asset folder. Please help me solving above issue.

    Thanks

    Helly

    Edited by helly
  • 0
    Avatar
    JEROME

    Hi, I can't find redirect.js file into asset fold. Please do help me to resolve this problem.

    Thanks.

    Jérôme

Please sign in to leave a comment.
Powered by Zendesk