Update: gpEasy now has build in redirection. See the "missing links" in your menu bar. Nonetheless, there may be ocassion when you need to use the following method to redirect a page, maybe a html file you have in a directory.
For example let's say I want to redirect a page to my main gpEasy CMS page from within the same installation of gpEasy. The code would look like this,
Notice that I'm using the relative link to my gpEasy CMS page or the "page slug" if you prefer.
How to apply it?
Simply create a new page that you want to redirect to another page. Edit that page and click the "source" button on the HTML editor. Then paste the above code into the source view, you might as well delete all other text in the page as well. Change the link in the JS to the page you want to display, or rather be redirected to. Then save. That's it.
You can redirect easily within your gpEasy installation by using relative links. If you want to redirect to an external page then use the absolute link for the page you want to be redirect to.
Once this code is saved in a page that page will not display because it will instantly redirect. Therefore, when you want to edit the page you will need to go to the File Manager and edit the page via its file options.
Other than that there really isn't much to it.