Redirect from old site to new folder non-latin URL
-
zaza
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
9 years 3 months ago #4137
by zaza
How I can redirect from the old site to a new folder with non-latin URL in line? For example, there was a
БЛАБЛА.РФ site
And there's new one
ПЩПЩ.РФ
I want redirect all links from the old site to the folder on the new site.
БЛАБЛА.РФ/* -->> ПЩПЩ.РФ/БЛАБЛА/*
Please Log in or Create an account to join the conversation.
-
zaza
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
9 years 3 months ago - 9 years 3 months ago #4138
by zaza
RewriteRules of the Apache .htaccess doesn't work at all with non-latin URL and the Internet full of suffering from it.
Last edit: 9 years 3 months ago by zaza.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 3 months ago #4140
by admin
If this is a domain name, you should use the encoded version of the name. That's because if you put this in the browser address bar:
бла-бла.рф
It makes the request for:
xn----7sbbbc1dd.xn--p1ai
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
zaza
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
9 years 3 months ago #4142
by zaza
Ok with domain. What should I use for the name of the folder?!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 3 months ago #4143
by admin
The name of the folder appears in the destination, so you can use the original name (and the browser will encode the request for you) or better the encoded name. In the latter case, replace:
БЛАБЛА
WIth:
%D0%91%D0%9B%D0%90%D0%91%D0%9B%D0%90
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
zaza
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
Time to create page: 0.145 seconds