diff --git a/core/model/ErrorPage.php b/core/model/ErrorPage.php index 52cd970b3..fde9078ee 100755 --- a/core/model/ErrorPage.php +++ b/core/model/ErrorPage.php @@ -63,7 +63,6 @@ class ErrorPage extends Page { $errorpage = new ErrorPage(); $errorpage->ErrorCode = 404; $errorpage->Title = _t('ErrorPage.DEFAULTERRORPAGETITLE', 'Page not found'); - $errorpage->URLSegment = 'page-not-found'; $errorpage->Content = _t('ErrorPage.DEFAULTERRORPAGECONTENT', '
Sorry, it seems you were trying to access a page that doesn\'t exist.
Please check the spelling of the URL you were trying to access and try again.
'); $errorpage->Status = 'New page'; $errorpage->write(); diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 08733041c..c1d7746b1 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1201,7 +1201,6 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid $aboutus = new Page(); $aboutus->Title = _t('SiteTree.DEFAULTABOUTTITLE', 'About Us'); $aboutus->Content = _t('SiteTree.DEFAULTABOUTCONTENT', 'You can fill this page out with your own content, or delete it and create your own pages.
You can fill this page out with your own content, or delete it and create your own pages.