开发者

Where do i go to modify the 500 error page for Magento?

I am making a site live for a client and i want to deba开发者_开发知识库dge all instances of Magento on the front end, but I can seem to find where modify the 500 error template.


I believe the template you're looking for is /errors/default/report.phtml (previously /report/skin/default/index.phtml). You might also be interested in this article on specifying a different template if you don't want to modify the standard template.


You can specify error pages via your .htaccess file. Just enter this code in your htaccess file specifying what page you want them to see: ErrorDocument 500 /error-docs/500.html

Obviously you can change the number to change any error page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜