*** SOLVED *** Link works on preview, not on publish

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
Thepaac
 
 
Posts: 28
Joined: Sun Nov 29, 2020 9:09 pm

*** SOLVED *** Link works on preview, not on publish

Post by Thepaac »

I have a page on my website that has a link to another page on the website. All links work in the preview mode, however when I publish the pages, and initiate the link, it goes to "404 not found" error. How do I fix this? The website is https://www.paacaz.com then select firetruck I understand you cannot see the preview page that works, but I hope you can give me an answer.
Thanks
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Link works on preview, not on publish

Post by Pablo »

The links seem to work for me.
Maybe there is something wrong with your browser?
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: Link works on preview, not on publish

Post by BaconFries »

It is just me that is seeing this?

Image
Thepaac
 
 
Posts: 28
Joined: Sun Nov 29, 2020 9:09 pm

Re: Link works on preview, not on publish

Post by Thepaac »

What browser are you using? I've tried Google, Duck Duck Go, Fire Fox, and Microsoft Edge, with the same error.

Thepaac
Thepaac
 
 
Posts: 28
Joined: Sun Nov 29, 2020 9:09 pm

Re: Link works on preview, not on publish

Post by Thepaac »

BaconFries,

Our club website is not secured so that caution comes up on several browsers, go to the advanced to get to the site.

Thepaac
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Link works on preview, not on publish

Post by Pablo »

It works for me.
What exactly do I need to do to see the problem with links?
Thepaac
 
 
Posts: 28
Joined: Sun Nov 29, 2020 9:09 pm

Re: Link works on preview, not on publish

Post by Thepaac »

The website is www.paacaz.com. At the home page click on the menu for the Firetruck. When that page opens click on 'CLICK HERE TO SE A BRIEF HISTORY...... The page 404 not found opens. Not the page that it should link to.
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: Link works on preview, not on publish

Post by BaconFries »

As previously I get a security risk of that link so there is no way I am going to click on anything!. In general when you get a 404 it means that the link/url (file html or php) cannot be found on the server. This has nothing to do with the software at all you yourself will need to ensure that you have uploaded all files to the server. Note I did visit the homepage and a couple other that didn't throw any risk and on looking at the source it shows that you are using WB14 please note that this is no longer supported but as mentioned above ensure all files are on the server.
Thepaac
 
 
Posts: 28
Joined: Sun Nov 29, 2020 9:09 pm

Re: Link works on preview, not on publish

Post by Thepaac »

How can it not be on the server if you con see it in preview mode?
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: Link works on preview, not on publish

Post by BaconFries »

How can it not be on the server if you con see it in preview mode?
Because in "Preview" it is what you are seeing locally on your PC/Laptop where the file page excists whereas if you haven’t uploaded/published that page to your server then it won't display or be found that's why.
In general there should be no difference but if you don't upload/publish all files then you will have have issues as the 404 shows. 404 pages are well documented on the net as you can read here:
https://en.m.wikipedia.org/wiki/HTTP_404
I would suggest that you ensure you have actually published the page in question and try again.
See the following:
Publishing your web pages reading from Select which pages will be published
wwonderfull
 
 
Posts: 1439
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Link works on preview, not on publish

Post by wwonderfull »

baconfries I think he was trying to say he does not have the ssl certificate for his domain and mistakenly wrote https://www.paacaz.com/ which had shown me the same thing you had seen but if we use http://www.paacaz.com/ then the site shows I tested. Although I always have a dedicated browser just for security reasons which keeps it safe : )

https://prnt.sc/fbu-vfYSWO5a

And Thepaac try baconfries suggestion as your page was not published which I have also checked and can confirm. It showed 404 error which means page was not found.
Thepaac
 
 
Posts: 28
Joined: Sun Nov 29, 2020 9:09 pm

Re: Link works on preview, not on publish

Post by Thepaac »

Thanks, everyone your to suggestions helped me solve the issue.
Post Reply