1

I am wondering how I would go about giving all errors in Magento other than 404 errors a custom errror page that says something along the lines of "Something went wrong". I want all of them to pull up the same error page. How would I go about this?

Thanks.

2 Answers 2

2

In folder /var/www/html/errors copy folder called default and name it {your name}, then in local.xml in /var/www/html/errors place this code

<config>
   <skin>{your name}</skin>
</config>

Then go to /var/www/html/errors/{your name} and modify your error pages as you see fit including css and images. Don't forget to set the correct variables in processor.php

For more detailed information follow this link.

1

You can select design of error page in {root_dir}/erros folder. In design.xml change code:

<config>
    <skin>{your_skin_name}</skin>
</config>

And in this folder create new folder {your_skin_name} and copy files from /errors/default to this folder and than you can edit them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.