[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 541
  • Last Modified:

ModeRewrite in htaccess file not allow Russian words

Please give me solution of this issue

ModeRewrite in htaccess file not allow Russian words

www.xyz.com/russianword

i want this format of url
0
citadelind
Asked:
citadelind
  • 4
  • 2
1 Solution
 
Erdinç Güngör ÇorbacıPHP Development Team LeaderCommented:
ModeRewrite in htaccess file not allow Russian words
What do you mean russian words... words are not the specifier charset is important.
You obviously shouldn't use unacceptable latin chars do you use any  ?
 
Better write us a sample redirection , talking without any sample is not much meaningful
if you are using right charset i'm sure there is a rule conflict or misspelled regex
0
 
citadelindAuthor Commented:
Please check attached sample image.
link.jpg
0
 
Erdinç Güngör ÇorbacıPHP Development Team LeaderCommented:
as far as i know url must be encoded if it's not containing latin characters. Maybe a mapping done by regular expression should work but i think you should consider rebuilding your link structure with use of

http://php.net/manual/en/function.urlencode.php

if you don't like to do this (after thinking the users from all over the world which has another charset )

try enforcing apache not to rewrite the characters in the response by ading the NE tag. So your line would be:

RewriteRule .* http://%{HTTP_HOST}/%1 [R=301,NE,L]
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Ray PaseurCommented:
Do you mean that you want to use Russian words, or that you want to prevent the use of Russian words?
0
 
citadelindAuthor Commented:
I want to use Russian words.
0
 
citadelindAuthor Commented:
Nothing works as per your message we followed things but nothing works it gives error.
0
 
citadelindAuthor Commented:
Thanks for help
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now