Permalinks with capital letters

AI-generated summary

Permalinks with capital letters

The discussion revolves around solving permalink issues after importing data from an old forum. Fajfi initially had problems with capital letters in permalinks, which caused 404 errors. pfaffman suggested using the permalink normalization option in the admin panel to resolve the issue.

Fajfi successfully implemented the solution by converting links to use only IDs and creating a permalink normalization rule. However, they encountered issues with Polish letters (e.g., Ą, ą, Ć, ć) in the permalinks. The initial solution caused errors on the site, but Fajfi was working on a revised version to address the issue.

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?

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

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: