The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Own 404 error page - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: General (https://userspice.com/forums/forumdisplay.php?fid=20) +--- Forum: UserSpice 5 - Roadmapping the Future (https://userspice.com/forums/forumdisplay.php?fid=31) +--- Thread: Own 404 error page (/showthread.php?tid=177) |
Own 404 error page - Kighlander - 06-29-2016 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? Own 404 error page - rukichirimoshi - 07-04-2016 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 Own 404 error page - Kighlander - 07-04-2016 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 Own 404 error page - mudmin - 07-04-2016 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. Own 404 error page - Kighlander - 07-04-2016 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.... |