<p><strong>Update</strong></p>

<p>Following your comment, and if I understand well, you already are using a URL for the categories, but want to create kind of a subpage "information" for them. It is a bit more complicated but it can be achieved. What you can do is create a route, either from the control panel or the <code>config/routes.php</code> file in <code>craft/config</code>. It may be easier to do it from the control panel first. If you go to Settings > Routes and click on "New route" you can enter the following information:</p>

<p><a href="https://i.sstatic.net/f57Po.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/f57Po.png" alt="New route popup"></a></p>

<p>It will create a new URI endpoint for the "information" pages that you want and map them to a <code>_information.html</code> template in the "categories" folder.</p>

<p>You can then create <code>_information.html</code> template and retrieve your category using the following code:</p>

<pre><code>{% set category = craft.categories({ group: 'categoryName', slug: craft.request.segments[1] }) %}
</code></pre>

<p>Assuming the handle of your category is <code>categoryName</code> of course.
<code>craft.request.segments</code> is an array containing all parts of your URI, starting from 0. Thus, the second part of the URI, which is the selected category's slug, is stored in <code>craft.request.segments[1]</code>.
The variable <code>category</code> will then contain all the fields assigned to the category that you want to display in the information page.</p>

<hr>

<p>It is possible and quite easy to do in Craft.
You can create a new text field named "External link" for example, and assign it to the category.</p>

<p>To do that, go to Settings > Categories > {Name of your category} and select the "Field layout" tab. You can then assign the "External link" field to the category like you would for a section.</p>

<p>You can now edit your categories and add the external link for each one of them.</p>

CC BY-SA 3.0
2017-06-02T14:18:52.650Z
What I meant by the external link was to have an additional slug onto of my category item, so it would add an additional page. So 'information' being that additional page which I could add fields to. Can this still be done with categories?
Amy
CC BY-SA 3.0
2017-06-05T09:38:53.597Z
This is exactly what I was looking for, thank you!
Amy
CC BY-SA 3.0
2017-06-01T15:30:45.660Z
2017-06-02T15:52:18.733Z
2017-06-02T15:52:18.733Z
kant312
<p>I have a bunch of categories within a section on my website, but I want each category item within that section to be able to have an additional slug. For example:</p>

<p>mywebsite.com/categories/category/information (information being the additional slug)</p>

<p>Is this possible with Craft?</p>

CC BY-SA 3.0
2017-06-02T08:36:37.867Z
What do you mean by "external link"? If you have a category group (and not just made a section and put your categories as entries) you can enable "Categories in this group have their own URLs" in your category group settings. https://craftcms.com/docs/categories
Tom De Smet
<sections><entry-slug>
Can structure entries have their own entries?
# Can structure entries have their own entries?

(Asked by: username_0 on 2017-06-01)

I have a bunch of categories within a section on my website, but I want each category item within that section to be able to have an additional slug. For example:

mywebsite.com/categories/category/information (information being the additional slug)

Is this possible with Craft?

**Tags:** sections, entry-slug
> **Comments:**
> **username_1**: What do you mean by "external link"? If you have a category group (and not just made a section and put your categories as entries) you can enable "Categories in this group have their own URLs" in your category group settings. https://craftcms.com/docs/categories  

---

## 1 answers

### Answer by username_2 on 2017-06-01. Score: 2 | Accepted answer

Update
Following your comment, and if I understand well, you already are using a URL for the categories, but want to create kind of a subpage "information" for them. It is a bit more complicated but it can be achieved. What you can do is create a route, either from the control panel or the config/routes.php file in craft/config. It may be easier to do it from the control panel first. If you go to Settings > Routes and click on "New route" you can enter the following information:

It will create a new URI endpoint for the "information" pages that you want and map them to a _information.html template in the "categories" folder.
You can then create _information.html template and retrieve your category using the following code:
{% set category = craft.categories({ group: 'categoryName', slug: craft.request.segments[1] }) %}

Assuming the handle of your category is categoryName of course.
craft.request.segments is an array containing all parts of your URI, starting from 0. Thus, the second part of the URI, which is the selected category's slug, is stored in craft.request.segments[1].
The variable category will then contain all the fields assigned to the category that you want to display in the information page.

It is possible and quite easy to do in Craft.
You can create a new text field named "External link" for example, and assign it to the category.
To do that, go to Settings > Categories > {Name of your category} and select the "Field layout" tab. You can then assign the "External link" field to the category like you would for a section.
You can now edit your categories and add the external link for each one of them.

> **Comments:**
> **username_0**: What I meant by the external link was to have an additional slug onto of my category item, so it would add an additional page. So 'information' being that additional page which I could add fields to. Can this still be done with categories?  
> **username_0**: This is exactly what I was looking for, thank you!  

---

