User Tools

Site Tools


404

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
404 [2013/04/12 09:00]
Timbow
404 [2014/01/15 23:15] (current)
datiswous [Custom 404 Page]
Line 2: Line 2:
 The standard content file for the error 404 page is created and saved in "/​data/​other/​404.xml"​. ​ The standard content file for the error 404 page is created and saved in "/​data/​other/​404.xml"​. ​
  
-To customize it create a new page called ​404. It will override the standard version. ​+To customize it create a new page with slug((Slug: See wiki section: [[:​basics|Admin Reference/​GetSimple Basics]])) ​404. It will override the standard version. ​
  
 The code is in index.php The code is in index.php
-<​code>#​ define page, spit out 404 if it doesn'​t exist+<​code ​php># define page, spit out 404 if it doesn'​t exist
 $file = GSDATAPAGESPATH . $id .'​.xml';​ $file = GSDATAPAGESPATH . $id .'​.xml';​
 $file_404 = GSDATAOTHERPATH . '​404.xml';​ $file_404 = GSDATAOTHERPATH . '​404.xml';​
404.1365757213.txt.gz ยท Last modified: 2013/04/19 14:53 (external edit)