# Permalinks - rename category - incorrect url

**URL:** https://meta.discourse.org/t/permalinks-rename-category-incorrect-url/104716
**Category:** Bug
**Created:** [December 19, 2018, 10:32pm UTC](https://meta.discourse.org/t/permalinks-rename-category-incorrect-url/104716 "2018-12-19T22:32:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vincentp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vincentp/32/110063_2.png) [@vincentp](https://meta.discourse.org/u/vincentp)
#### Post date: [December 19, 2018, 10:32pm UTC](https://meta.discourse.org/t/permalinks-rename-category-incorrect-url/104716/1 "2018-12-19T22:32:35Z")

</div>

Subfolder install - I renamed a category today (due to a typo), and the automatically generated permalink redirect did not include the subfolder in the url.

It added

`c/automise/discusssion`

instead of

`forums/c/automise/discusssion`

We were able to work around the issue by manually adding a permalink (after figuring out how to find the categoryid- harder than it should be).

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [December 21, 2018, 4:05am UTC](https://meta.discourse.org/t/permalinks-rename-category-incorrect-url/104716/4 "2018-12-21T04:05:56Z")

</div>

This commit should fix the issue

[https://github.com/discourse/discourse/commit/2909e7fbdf7faecc4316e235bf8018b2d48c98a9](https://github.com/discourse/discourse/commit/2909e7fbdf7faecc4316e235bf8018b2d48c98a9)

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [December 22, 2018, 12:30pm UTC](https://meta.discourse.org/t/permalinks-rename-category-incorrect-url/104716/5 "2018-12-22T12:30:00Z")

</div>

This topic was automatically closed after 32 hours. New replies are no longer allowed.
