getgrav / getgrav/grav-plugin-admin

[suggestion] Using non-english characters for site redirects

Open
#2,303 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

In the process of transferring the site from WordPress to Grav, I had to make redirects from the old URLs to the new ones (`site.yaml`configuration).

I found that English URLs work fine:
````yaml

redirects:
/about: /obo-mne
````
But non-english doesn't work:
```yaml

redirects:
/обо-мне: /obo-mne
```

Apostrophes and quotation marks didn't help, I figured a unicode URL might work:
```yaml
redirects:
/%D0%BE%D0%B1%D0%BE-%D0%BC%D0%BD%D0%B5: /obo-mne
```

It works, [this service](https://r12a.github.io/app-conversion/) helped me a lot.

Part of my redirects table:

![image](https://user-images.githubusercontent.com/7556290/178974537-90ed9336-466f-4ea2-9ce3-2a745baf5815.png)

Is it possible to add support for this transformation inside the admin panel?

Grav v1.7.34
Admin v1.10.34

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.