|
Post by loes on Jun 20, 2020 13:21:03 GMT
On my website there are some pages of which I took away the content years ago and - with a Visual HTML object - I let the pages jump to the replacing pages.
I would like to take away those pages completely. As a result users with ancient bookmarks will get the default Error 404 Page not found (my website is hosted by GoDaddy) without an automatic redirect to my home page.
I have meanwhile made the Error 404 page more user friendly, edited the text in CuteFTP (it now tells that the page has moved) and I added a link to my home page.
Now to give the Error 404 Page Not Found the look and feel of my website, could I edit the error page in Antenna? And even include my site.theme to it? If so, how?
Thanks for any pointers.
Loes
|
|
|
Post by Graham on Jun 21, 2020 3:33:14 GMT
Hi Loes Depending on your hosting provider you can point it to a custom 404.htm page you create in Antenna. In my hosting (Crazy Domains) I just go into the section where it has error pages and I can make one in there and save it or just click a link to a page in my website if I want it to go there. So have a look at what options your host gives you then just make it in Antenna. Graham
|
|
|
Post by J on Jun 22, 2020 14:36:01 GMT
Just to add to Graham's advice, have a look in your webspace with an FTP program. I found there was a default 404 page already present. So I created a new page in my Antenna project, with the same filename, and published - overwriting the hosts default 404 page with my own custom version.
Just one thing to be aware of - I found paths to images and links do not work on error pages, because the host server actually serves the error page as if it were in the current folder at the time the error occurred. Absolute (ext:) paths will work though. Not sure I've explained that very well - let me know if you'd like more detail.
Cheers, J
|
|
|
Post by loes on Jun 24, 2020 16:19:56 GMT
Thanks Graham and Julian!
Julian, your error page looks exactly the way I want it to look (I visited the stormdance website and typed a non-existent address). Using an absolute path for the images is the golden tip! Thanks again,
Loes
|
|