Page 1 of 1

Glitches in Link when Previewing

Posted: Sun Sep 30, 2018 5:49 pm
by mexman
Hi,
I am ALWAYS using the Preview Scope "Complete site" but the publishing links do not work:

A link is shown well in the status line of the Browser, when hovering about the linking object (text), but after clicking, the linked page is "not found".
After publishing everything, the links work fine, just not when previewing.

It will take me some time building a test page for you, urgent project to finish first!

EDIT: Just sent a sample showing the problem by mail!

regards
Michael

Re: Glitches in Link when Previewing

Posted: Sun Sep 30, 2018 7:52 pm
by Pablo
You are previewing a PHP page. PHP pages can only be viewed on the server.

The reason why you can preview the first page is because you have enabled 'Remove PHP code during preview'
However, this does not change the site structure of the website. So, internal links will not be updated. This feature only is a 'hack' to enable you to preview the active page.
That is why the page cannot be found if called from another page, because the PHP page does not exist.

Related tutorial:
http://www.quickandeasywebbuilder.com/preview.html