Jump to content

Custom 404 page


Recommended Posts

Hi everyone,

 

I tried to change text and img on 404 page:

 

/public/themes/xx/404.tpl

 

<div class="pagenotfound">
    <div class="img-404">
        <img src="{$img_dir}/img-404.jpg" alt="{l s='Page not found'}" />
    </div>
    <h1>{l s='This page is not available'}</h1>

    <p>
        {l s='blablablabla test test'
</a> '}
    </p>

 

however after saving the file and refreshing ctrl+f5 still the old msg appears.

 

also   <div class="img-404"> is it a file /public/img/404.gif? is the new one also gotta be gif?

Link to comment
Share on other sites

I suspect you didn't turn on force compilation in advanced parameters ->Performance:

 

attachicon.gifadv parameters - performance - force compilation.png

 

 

 

 

 

(And indeed, remove the </a> and ' )

 

 

pascal

I didn't change it from "Never..". Now when I did, website works fine but 404 doesn't apper at all. Changed it back and it't fine.

I deleted it, thank you.

 

I also turned off cache but I still cannot change 404 text

Link to comment
Share on other sites

localization > translations > front office translations

this is only one proper way to change translations of this part of shop.

I did it, turned off cache, tried even "Force compilation", refresh website ctrl+f5 but it still shows the old text.

I also don't know how to delete / change this PS img "404"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...