Custom 404 page?1 user found helpful
This is how you do it in general:
Make the custom 404 page and modify the .htaccess file.
That file allows you to assign a theme based on a page's path within the site:
Uncommenting these lines would do it, replace "yourtheme" with your theme's handle.
<?php $v = View::getInstance(); $v->setThemeByPath('/page_not_found', "yourtheme"); // as of 5.3.2 if you don't specify your them it'll use the site's current theme $v->setThemeByPath('/page_not_found'); ?>
Then if you pull up:
yoursite.com/index.php/page_not_found directly in your browser you should be able to put it in edit mode and add text to an area.
If that's not enough for you and you want to really customize it, you can override it by copying the file from:
then do whatever you want to it.
I am having problems with this.
I have copied login.php and register.php to single_pages and altered the site_theme_paths in config. Also I have view.php in my themes folder.
The login and register pages are still showing as standard concrete theme.
What am I missing.
Thanks for the help
They are on different servers. Could it have something to do with the server config?