I created a 404 template and it works great when going to /404. However, when triggering it by going to an invalid URL, all content fields have a few strange characters prepended.
​I’m sorry, we couldn’t find that page. So instead, here’s three randomly selected projects from our portfolio that we hope you’ll enjoy!
{exp:channel:entries channel="404" limit="1"}
{embed="StaticElements/Header" css="404" javascript="404" slider="false" page_title="404" title_tag="{404_title_tag}" meta_description="{404_meta_description}"}
<div id="body" class="page_content">
<h1>{404_header}</h1>
<div id="work_item_list" class="clear_float">
<div id="column_1" class="column"></div>
<div id="column_2" class="column"></div>
<div id="column_3" class="column"></div>
</div>
<div id="link_container" class="clear_float">
<a href="/work">View All Work</a>
</div>
</div>
{embed="StaticElements/Footer"}
{/exp:channel:entries}