This forum is archived. Posts are preserved for historical reference. For current help, join us on Discord.

Own 404 error page

In UserSpice 5 - Roadmapping the Future · Started by Kighlander on 2016-06-29 3:29 pm · 12186 views · 4 replies

If a site is not in the DB, is it possible to redirect to an own 404 error page, wich looks and feel like the original page?
Hi @Kighlander,

Please check the documentation in the link bellow:
http://userspice.org/documentation-redirect-class/

In the video is explained exactly what you want.

For the look and feel, you just need to use header/footer, etc.

PS: I'm not from the UserSpice team, I'm just trying to help. :)

Regards,
Rukichirimoshi
Hi Ruki...

I already saw this Video, but there was createt an own 404 Redirect error. (He put it in the method to call the redirect-function).
But if a NOT EXISTING page is called from any user, I want to redirect to an own errorpage with same template... Have I use .htaccess for that or is it possible to create it with UserSpice ?

Regards,
Kighlander
Yeah. The only way to do what you want is with .htaccess. I agree that should probably be a feature though. I will add that to the list.

http://www.thesitewizard.com/archive/custom404.shtml

Thanks @rukichirimoshi for jumping in. Feel free to do that at any time.
Ok, thanks a lot 4 the link.
Now I feel good to start my project with UserSpice...
If there are any problems, I will report it here... somewhere.... :D