Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Owdy Posted September 30, 2018 Posted September 30, 2018 How do i set my own 404 not found page? Using pages.
Tom S. Posted September 30, 2018 Posted September 30, 2018 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.
Owdy Posted September 30, 2018 Author Posted September 30, 2018 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
opentype Posted September 30, 2018 Posted September 30, 2018 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.
Owdy Posted September 30, 2018 Author Posted September 30, 2018 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: to this
opentype Posted September 30, 2018 Posted September 30, 2018 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.
Owdy Posted September 30, 2018 Author Posted September 30, 2018 So its not possible. great. Maybe i just edit translation.
Owdy Posted October 2, 2018 Author Posted October 2, 2018 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.