× Here you can get community support related to ReDJ.

Redirect from old site to new folder non-latin URL

More
8 years 8 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.

More
8 years 8 months ago - 8 years 8 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: 8 years 8 months ago by zaza.

Please Log in or Create an account to join the conversation.

More
8 years 8 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.

More
8 years 8 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.

More
8 years 8 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.

More
8 years 8 months ago #4144 by zaza
It does not work. Please, type exact rules.

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds