06-29-2016, 03:29 PM
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?
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
|
06-29-2016, 03:29 PM
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?
07-04-2016, 10:21 AM
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
07-04-2016, 11:38 AM
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
07-04-2016, 01:05 PM
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.
07-04-2016, 06:04 PM
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.... |