404 pages default to index page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
User avatar
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany

Re: 404 pages default to index page

Post by yellowled » Sat Sep 24, 2016 6:53 pm

thh wrote:I like that, but would propose to phrase it "The requested page could not be found (404). ...". Don't frighten not-so-tech-savvy people with strange acronyms. :)
I see your point. Then again, they could just as easily be confused by entries vs (static) pages … :wink:

(But yes, page is probably better.)

amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
Don Chambers
Posts: 3638
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA

Re: 404 pages default to index page

Post by Don Chambers » Wed Sep 28, 2016 5:33 pm

This is more of a comment for theme developers....

In the Timeline theme, $view=='404' gives the visitor a search box, a back button and a homepage button. I think those three things might be most valuable to visitors who trigger a 404.

An example of this can be seen at this non-existent url on the timeline demo.

User avatar
Posts: 273
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany

Re: 404 pages default to index page

Post by u1amo01 » Wed Apr 12, 2017 2:54 pm

I like the solution in Timeline :-)

As written above I use the plugin static page with the checkbox "Diese Seite als 404-Fehler-Seite definieren".

Now I recogniced something strange. When I have a wrong URL like this:
it works as I expected: my static page is shown.

With "html" at the end it doesn't use the static page solution ...
... the index page is shown with the message "Die angeforderte Seite konnte nicht gefunden werden (404). Dies ist die Standardseite."

Looks for me as something in the static page plugin is wrong? I use s9y vers. 2.1.1

Post Reply