# Can I make special URL to a special tag?

**URL:** <https://talk.jekyllrb.com/t/can-i-make-special-url-to-a-special-tag/6601>\
**Category:** Help\
**Created:** [October 22, 2021, 6:40pm UTC](https://talk.jekyllrb.com/t/can-i-make-special-url-to-a-special-tag/6601 "2021-10-22T18:40:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekofi](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/ekofi/32/4003_2.png) [@ekofi](https://talk.jekyllrb.com/u/ekofi)\
**Post date:** [October 22, 2021, 6:40pm UTC](https://talk.jekyllrb.com/t/can-i-make-special-url-to-a-special-tag/6601/1 "2021-10-22T18:40:28Z")

</div>

Hello, I have a project with [Jasper2 template](https://github.com/jekyllt/jasper2). There are tags in this project. My permalink is `permalink: /:title` Everything is fine except one thing: I want to put posts that use the tag named “writings” in the URL `/writings/:title`. Is this possible? Thanks

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [October 23, 2021, 2:44pm UTC](https://talk.jekyllrb.com/t/can-i-make-special-url-to-a-special-tag/6601/2 "2021-10-23T14:44:59Z")

</div>

Why don’t you create a category called writings?

That will set up the url for you as you expect.

I don’t think know if a fixed string or a tag can be used in the url.

* * *

Two ways to set category.

Set it on each post.

```auto
---
categories: writings
---

```

Make a directory. Everything in writings will get the category writings, which can be accessed on page.categories and will set the url too.

```auto
_posts/
    writings/
       2021-01-02-hello.md
       2021-01-04-hello.md
    2021-01-02-hello.md

```

Sample output url

```auto
writings/2021/01/02/hello.html

```

But… I would set the permalink back to the default first. To ensure the url is as I said.

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [October 23, 2021, 2:51pm UTC](https://talk.jekyllrb.com/t/can-i-make-special-url-to-a-special-tag/6601/3 "2021-10-23T14:51:25Z")

</div>

I recommend using a preset like `permalink: pretty` or leave the default, to ensure you keep the categories, dates, extensions…

> **[Permalinks](https://jekyllrb.com/docs/permalinks/#built-in-formats)**
>
> Permalinks are the output path for your pages, posts, or collections. They allow you to structure the directories of your source code different from the directories in your output.
