Jump to content

Custom 404 page


Owdy

Recommended Posts

Posted
3 hours ago, Owdy said:

How do i set my own 404 not found page? Using pages.

404 custom pages can be set up using a .htaccess file.

ErrorDocument 404 path-to/custom-error-page.html

So, if you wanted to use Pages, you could just create your custom 404 page and then link to that.

Edit: Although I realise IPS deals with 404 it's own way. That may get in the way of the .htaccess file.

Posted
28 minutes ago, Tom S. said:

 

Edit: Although I realise IPS deals with 404 it's own way. That may get in the way of the .htaccess file.

Yes, thats the problem

Posted

What are you trying to achieve by using a custom page? You can already modify the theme template for the error page. The Pages function does basically the same thing. It’s just independent from the theme. 

Posted
19 minutes ago, opentype said:

theme template for the error page.

Thats for ALL errors, right? I want own page for situations when some page doesnt found.

I want to change this:
image.png.98993b4379adb2ab9c8a1e426fc37535.png

to this

image.thumb.png.7b406488f599c9b62a20636cbda56ea8.png

Posted
25 minutes ago, Owdy said:

Thats for ALL errors, right?

Yes, but I think that’s true in any case. You would have to dynamically check the error code fed into the template or page and then change the output depending on the code. 

Posted
On 9/30/2018 at 6:07 PM, Owdy said:

Maybe i just edit translation.

Yes, that works perfetly because you can put html in it. Just edit Key "requested_route_404". Added text and images.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...