# Permalinks with capital letters

**URL:** https://meta.discourse.org/t/permalinks-with-capital-letters/86631
**Category:** Support
**Created:** [May 2, 2018, 7:33pm UTC](https://meta.discourse.org/t/permalinks-with-capital-letters/86631 "2018-05-02T19:33:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Fajfi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fajfi/32/381507_2.png) [@Fajfi](https://meta.discourse.org/u/Fajfi)
#### Post date: [May 2, 2018, 7:33pm UTC](https://meta.discourse.org/t/permalinks-with-capital-letters/86631/1 "2018-05-02T19:33:24Z")

</div>

After import from my old forum i have to deal with redirections.

I have Google SEO plugin on my MyBB board and I used this plugin table to get permalinks.

In table I got links with capital letters.

```
/thread-Some-Thread--01

```

Actual links on sitemap/forum:

```
/thread-some-thread--01

```

On redirect page i got links with capital letters and if I use actual link I get 404 not found.

Is there any solution to convert links from capital to lower?

Maybe permalink normalizations option in admin panel can help?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 2, 2018, 9:11pm UTC](https://meta.discourse.org/t/permalinks-with-capital-letters/86631/2 "2018-05-02T21:11:58Z")

</div>

I would have the importer create links with just the ID and use permalink normalization to remove the slug.

---

<div class="post-metadata">

### Author: ![Fajfi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fajfi/32/381507_2.png) [@Fajfi](https://meta.discourse.org/u/Fajfi)
#### Post date: [May 3, 2018, 8:28pm UTC](https://meta.discourse.org/t/permalinks-with-capital-letters/86631/3 "2018-05-03T20:28:35Z")

</div>

Nice idea, thanks.

I converted my links in permalinks to something like this:

```
forum-1

```

Now i need to convert something like this with permalink normalizations:

```
forum-Aba-dasda-1

```

I’m trying with this but it doesn’t work.

`/forum-[A-Za-z-]+([0-9]+)./forum-\1`

Edit: Working version

`/forum[A-Za-z-]+([0-9]+).*/forum\-\1`

Now I have problem with polish letters like: ĄąĆćĘęŚśŹźŻżÓó

When I tried this version:

`/forum[A-Za-z\Ą\ą\Ć\ć\Ę\ę\Ś\ś\Ź\ź\Ż\ż\Ó\ó-]+([0-9]+).*/forum\-\1`

it couse error on site:

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/6/2624b436d818ef5196ecc6c28b270ca63712cb16.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [October 14, 2020, 3:32am UTC](https://meta.discourse.org/t/permalinks-with-capital-letters/86631/4 "2020-10-14T03:32:43Z")

</div>


