# 404

> Shoplazza 主题的 404 template 渲染客户访问无效店铺地址时看到的页面，本页讲文件位置与该放哪些内容。

`404` template 渲染当客户输入无效商店 URL 时显示的页面内容。

![](https://cnres.appracle.com/24ddbb6ac2b6724dd44edf6b798f5e91.png)

## 位置

`404` template 位于 theme 的 `templates` 目录下：

**目录**

```text
└── theme
    ├── layout
    ├── templates
    |   ...
    |   ├── 404.liquid
    |   ...
    ...
```

## 内容

404 template 没有推荐使用的对象。但该 template 应向客户清楚说明其所访问的页面不存在。

您应提供明显的后续操作选项。例如，可以添加指向热门页面的链接、帮助客户查找内容的搜索栏，或引导客户返回首页或专辑页继续浏览的链接：

```html
<h3>404 Page not found</h3>
<a href="{{ routes.root_url }}">Take me home</a>
```
