Search to html instead of php

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
sommerpierre
 
 
Posts: 25
Joined: Sun Apr 29, 2018 11:41 am

Search to html instead of php

Post by sommerpierre » Sat Jan 26, 2019 11:57 am

If I create and publish a new protected php-page in Wysiwyg and everything seems to work correctly. But if the user looks in the navigationbar (css menu), he can see the title of the page but not reach them (404 Page Not Found). 
That’s because the search looks for a „.html-Page“ with the same name. This page don’t exist while I changed in the page properties the file extension from html to php.

How the navigationbar can learn this?
Gruß

Sommerpierre

User avatar
Pablo
 
Posts: 17411
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Search to html instead of php

Post by Pablo » Sat Jan 26, 2019 12:02 pm

If you republish the page(s) with the navigation then the links will automatically be updated.

sommerpierre
 
 
Posts: 25
Joined: Sun Apr 29, 2018 11:41 am

Re: Search to html instead of php

Post by sommerpierre » Sat Jan 26, 2019 3:42 pm

I can publish a page "with or without" navigation?

What I do with a new page is publish this page and then publish the Masterpage with the css menu. For this I use the "publish-Button" and the option "publish all files".

But the result is the same: "404 Page Not Found". In the Browser I can see the search for a Page "name.html", so it can't work properly for the page named "name.php".
Gruß

Sommerpierre

User avatar
BaconFries
 
 
Posts: 4620
Joined: Thu Aug 16, 2007 7:32 pm

Re: Search to html instead of php

Post by BaconFries » Sat Jan 26, 2019 3:51 pm

To be able to help you please provide a url to the site so we can help. Or provide a copy of you project when doing this please read the following :
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134

User avatar
Pablo
 
Posts: 17411
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Search to html instead of php

Post by Pablo » Sat Jan 26, 2019 6:01 pm

You cannot just publish the master page , the master page does not have any meaning outside the workspace. it is only used during design-time.
If you update the the page name (or extension) then you will need to update all pages that are referring to that page.

sommerpierre
 
 
Posts: 25
Joined: Sun Apr 29, 2018 11:41 am

Re: Search to html instead of php

Post by sommerpierre » Sun Jan 27, 2019 3:16 pm

Finally I found a solution!

After a click on the button in the Browser-Line the search would always going to a (not existing) „.html“-Page but I was sure that the page only exist as „.php“-Page.



So I re-changed the existing „.php“-Page to a „.html“-Page. And then the browser shows the correct page.

After re-changing the „.html“-Page in a „.php“-Page all works correctly.



What I learnt for me is:

If I create a new page now, it will be better to change the file extension, at the end of my work on that page, and not in the beginning.
Gruß

Sommerpierre

Post Reply