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 [2014/01/15 23:05]
datiswous [Custom 404 Page]
404 [2014/01/15 23:15]
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 with slug 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.txt ยท Last modified: 2014/01/15 23:15 by datiswous