# How to add an archive page on hosted Ghost blog

**URL:** <https://forum.ghost.org/t/how-to-add-an-archive-page-on-hosted-ghost-blog/31615>\
**Category:** Using Ghost\
**Created:** [July 28, 2022, 12:31am UTC](https://forum.ghost.org/t/how-to-add-an-archive-page-on-hosted-ghost-blog/31615 "2022-07-28T00:31:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![software\_writer](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/software_writer/32/19073_2.png) [@software\_writer](https://forum.ghost.org/u/software_writer)\
**Post date:** [July 28, 2022, 12:31am UTC](https://forum.ghost.org/t/how-to-add-an-archive-page-on-hosted-ghost-blog/31615/1 "2022-07-28T00:31:43Z")

</div>

I am using the out-of-box Digest theme for my hosted Ghost (PRO) blog. The only page I got after setup was the ‘About’ page. Now I want to add an archive page, just like the [demo site](https://ghost.org/themes/digest/).

If I go to add a new page by going to **Pages \> New Page** , it takes me to this empty page.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/b/b/bb6a4b6a84c2624cc22fca3798c14ac432d319dd.png)

I have no idea what to add here, other than **Archive** for the title. How can I show the archive of my posts?

Is there a pre-built Archive page that I can use? Or, do I need to use some code to get the list of posts to display? Where can I find this information?

Any help is really appreciated.

–

**Update** : I was able to add an Archive link using the `Settings > Navigation` UI, but this link points to `/pages/2` URL, which I found by clicking the `Browse All Issues` at the end of the home page.

Is it possible to customize link to something like: `/archive` instead of `/pages/2`?

---

<div class="post-metadata">

**Author:** ![Kym](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kym/32/1136_2.png) [@Kym](https://forum.ghost.org/u/Kym)\
**Post date:** [July 28, 2022, 12:10pm UTC](https://forum.ghost.org/t/how-to-add-an-archive-page-on-hosted-ghost-blog/31615/2 "2022-07-28T12:10:09Z")

</div>

On the [about page](https://ghost.org/themes/digest/) on the Digest theme demo, it mentions:

> When your publication has more than one issue, Digest generates an archive page of all the issues automatically. The featured issues are also highlighted on top of the list.

Have you got more than one issue on your site yet?

---

<div class="post-metadata">

**Author:** ![software\_writer](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/software_writer/32/19073_2.png) [@software\_writer](https://forum.ghost.org/u/software_writer)\
**Post date:** [July 28, 2022, 1:43pm UTC](https://forum.ghost.org/t/how-to-add-an-archive-page-on-hosted-ghost-blog/31615/3 "2022-07-28T13:43:04Z")

</div>

Hi @Kym,

I can get the Archive page to point to `/pages/2`, showing the list of published posts as expected. But I was wondering if there’s a way to use a different URL than `/pages/2`, such as `/archive`.

Thanks,  
Akshay

---

<div class="post-metadata">

**Author:** ![minimaluminium](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/minimaluminium/32/2652_2.png) [@minimaluminium](https://forum.ghost.org/u/minimaluminium)\
**Post date:** [August 1, 2022, 9:17am UTC](https://forum.ghost.org/t/how-to-add-an-archive-page-on-hosted-ghost-blog/31615/4 "2022-08-01T09:17:19Z")

</div>

Hey @software_writer,

Digest uses `home.hbs` as a custom homepage to display the latest issue and uses `index.hbs` as an archive page which is then accessed on `/page/2` as you’ve already figured out. The reason why we went with this method was providing an out-of-box archive page without any additional setup like custom routing.

If you prefer `/archive` as your archive page, you can accomplish this with a bit of customization in the routing and the theme code.

1. Add a channel route in `routing.yaml`. Channel suits best in this situation, because it doesn’t modify the post permalinks.

```nohighlight
routes:
  /archive/:
    controller: channel

```

1. Modify `partials/content.hbs` to change the archive link by replacing `/page/2` with `/archive`.

---

<div class="post-metadata">

**Author:** ![software\_writer](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/software_writer/32/19073_2.png) [@software\_writer](https://forum.ghost.org/u/software_writer)\
**Post date:** [August 1, 2022, 3:08pm UTC](https://forum.ghost.org/t/how-to-add-an-archive-page-on-hosted-ghost-blog/31615/5 "2022-08-01T15:08:25Z")

</div>

Hey @minimaluminium,

Thanks for getting back with a detailed answer.

I am on a Ghost (PRO) plan, which hosts the software for me. So I am not entirely sure if I have access to the actual code to edit and make changes.

Is it possible for me to edit the above files you mention?

Thanks!

---

<div class="post-metadata">

**Author:** ![markstos](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/markstos/32/18182_2.png) [@markstos](https://forum.ghost.org/u/markstos)\
**Post date:** [August 1, 2022, 3:14pm UTC](https://forum.ghost.org/t/how-to-add-an-archive-page-on-hosted-ghost-blog/31615/6 "2022-08-01T15:14:38Z")

</div>

Look in the Ghost(Pro) admin area under “Settings”. If you have access to “routes.yaml”, it’s under “Labs”, and if you have access to download and under themes, that’s under “Design”. Let us know what you find.
