Webb Food Services

From the to-do list: DEV

✔ make 404 page

Comments

Justin Bernard on September 4, 2015:

within the theme you will see a 404.php page

youll see its got a header and footer call in it

just take a basic page on the site, say about.  go in cms, copy all the content out of there

then you should be able to just paste that html between the header/footer call in 404.php and it should work.  just go to client.fleeangryrbear.com/webb/blahblahblah and it should go 404 on you so you can test

Justin Bernard on September 4, 2015:

should be able to strip all copy and just put 'Sorry, the page you were looking for was not found' as text in teh content area.

Taylor Bernard on September 4, 2015:

got a 404 page built. ended up having to take out the php calls to grab header and footer, as they were causing issues. so just basically made a html solitary page as a .php, with no references via php to other elements.

only issue is that if you view source. its adding in a weird character after the beginning body tag

any ideas

Justin Bernard on September 7, 2015:

looks great

per that weird char, its ascii, SOH, start of header

i think its doing it auto by the file type being php but having straight html in it, shouldnt hurt anything.  its not even visible in browser on my end, just if i bring into a rich code editor...