I
I
IvanIF2020-11-22 18:55:27
URL Handling
IvanIF, 2020-11-22 18:55:27

Why does a 404 error occur when the Russian letter “X” appears in the URL?

I need to pass a region as a GET parameter, but when I pass the following names of regions as it:
Sakhalin region, Sakha, Astrakhan region, Arkhangelsk region, I get a 404 error .
Through a simple analysis, I found out that such a reaction is observed when the letter "X" is present in the URL . Why is this happening?

Here is a CNC implementation and an example link:
CNC:

AddDefaultCharset UTF-8
Options +FollowSymLinks
RewriteBase /
RewriteEngine On
RewriteRule ^region/(.+?)$ /pages/region.php?reg=$1 [L]

Link example: mysite.ru/region/Arkhangelsk%20 region

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2020-11-23
@rPman


/pages/region.php is missing
or it is there but it returns this title itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question