# Gatsby Advanced Sitemap Plugin add custom link

**URL:** <https://forum.ghost.org/t/gatsby-advanced-sitemap-plugin-add-custom-link/18575>\
**Category:** Developer help\
**Created:** [November 29, 2020, 3:35pm UTC](https://forum.ghost.org/t/gatsby-advanced-sitemap-plugin-add-custom-link/18575 "2020-11-29T15:35:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![userghost8343](https://avatars.discourse-cdn.com/v4/letter/u/76d3ee/32.png) [@userghost8343](https://forum.ghost.org/u/userghost8343)\
**Post date:** [November 29, 2020, 3:35pm UTC](https://forum.ghost.org/t/gatsby-advanced-sitemap-plugin-add-custom-link/18575/1 "2020-11-29T15:35:38Z")

</div>

I was trying this [GitHub - TryGhost/gatsby-plugin-advanced-sitemap: Advanced XML Sitemaps for Gatsby.js](https://github.com/TryGhost/gatsby-plugin-advanced-sitemap)  
and I want to add a custom link to the sitemap does anyone know how I can add a custom link to the sitemap?

---

<div class="post-metadata">

**Author:** ![userghost8343](https://avatars.discourse-cdn.com/v4/letter/u/76d3ee/32.png) [@userghost8343](https://forum.ghost.org/u/userghost8343)\
**Post date:** [November 29, 2020, 4:11pm UTC](https://forum.ghost.org/t/gatsby-advanced-sitemap-plugin-add-custom-link/18575/2 "2020-11-29T16:11:42Z")

</div>

@Aileen I brought the question here from github if you can help 🙂 thanks

---

<div class="post-metadata">

**Author:** ![Aileen](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/aileen/32/9846_2.png) [@Aileen](https://forum.ghost.org/u/Aileen)\
**Post date:** [November 29, 2020, 10:18pm UTC](https://forum.ghost.org/t/gatsby-advanced-sitemap-plugin-add-custom-link/18575/3 "2020-11-29T22:18:15Z")

</div>

Hey @userghost8343

Thanks for moving it here, appreciate!

It’s currently not possible to add manual pages. May I ask which use-case you’d like to cover?

It is possible though, to add an external sitemap link. We’ve done this [here](https://ghost.org/sitemap.xml) for everything on the `/blog` subdirectory, which has its own sitemaps:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/e/e4fade856823d4b53d863a9ebce80691e81f543d.png)

To achieve this, you can add those in your `gatsby-config.js`:

```auto
{
    resolve: `gatsby-plugin-advanced-sitemap`,
    options: {
        ...
        additionalSitemaps: [
            {
                url: `https://ghost.org/blog/sitemap-pages.xml`,
            },
            {
                url: `https://ghost.org/blog/sitemap-posts.xml`,
            },
            {
                url: `https://ghost.org/blog/sitemap-authors.xml`,
            },
            {
                url: `https://ghost.org/blog/sitemap-tags.xml`,
            },
        ],
    },
},

```
