Problem (glitch?) Redirecting html pages

Hi,

I attempted to set a redirect for pages that will become obsolete on an upgraded website. I eneterd the following code in:

        <meta http-equiv="Refresh" content="3; url=https://caid.ca/index.html"/>

I have not tested this on the active website, but in Pinegrow there seems to be a problem.

The page actually redirects in Pinegrow and since I have an absolute redirect, the page redirects after 3 seconds to a blank page. Meaning, I lose visuals on the page.

When I placed in:

        <meta http-equiv="Refresh" content="3; url=""index.html"/>

The page deleted content on my index.html page and replaced it with my redirect.html page.

How do I resolve this?

Thanks
@Richard

Forgive me,

I adjusted my code to:

        <meta http-equiv="Refresh" content="3; url=/index.html"/>

Now when chose my redirect page to work on it, the page redirects in Pinegrow. Yes, I can see the redirect is working, but I am trying to work on the page. How do I stop or suspend the redirect.html page I select in Pinegrow to stop redirecting?

Thanks
@Richard

Another update on this is that there is an odd glitch of sorts after a bit more playing with this.

Using the code:

        <meta http-equiv="Refresh" content="3; url=/index.html"/>
  1. When I have my index.html page opened in Pinegrow, the redirect appropriately goes to index.html and I can stop that ro work on the redirect.html page (or master redirect page) if I open the html editor before the page redirects.
  2. Without my index page opened in Pinegrow, selecting my redirect page replaces “all” content on my index.html page and then begins a repeating loop of the redirect pager every 3 seconds.

This may be a glitch after all. However, I still require a way to turn off the redirect in Pingrow, if possible.

Thanks
@Richard

Hi @Richard,
I think your only option right now is to comment that line out when working on the page. The Page View in Pinegrow is essentially a Chromium browser window. I’m a little confused however. If you are navigating away from the page after several seconds, why does it need further changes?
Cheers,
Bob

Thanks for your reply @RobM,

I was in progress on text for the page and decided to test the “refresh” code for the redirect. Thank you for your work-around suggestion. I too found a work-around as noted in my previous message. That does not change that there is a glitch with redirects.

Is there anyway to work off-line to avoid a redirect problem?

@Richard

Hi @Richard,
The Page view of Pinegrow is essentially a constant update of code being manipulated behind the scenes. If you take the Pinegrow server off-line nothing would update in the page view. It would “brick” Pinegrow.

I’m a little confused by

I’m guessing the glitch you are referring to is:

Isn’t this the expected behavior? Three seconds after loading the page refreshes with the same content and then does it all over after 3 seconds. Maybe I’m misunderstanding?
Bob

The glitch is that if I do not have my index.html page open, it is erased and replaced by the redirected page. An accidental click on a a redirect page and the page it will be redirected to is erased.

Do you not like the idea of using a blanket redirect via .htaccess?