Jump to content

mod rewrite how to get name according to id?


dflow

Recommended Posts

i need help with this mode rewrite in hebrew/non latin letters

 

# Turn on the rewriting engine

RewriteEngine On

RewriteCond %{SCRIPT_FILENAME} !-d

RewriteCond %{SCRIPT_FILENAME} !-f

RewriteRule ^טסט/([0-9A-Za-z]+)/?$ /test.php?id=$1 [NC,L]

 

(because  of the LTR paste it is awkward this is simsilar to:

##RewriteRule ^test/([0-9A-Za-z]+)/?$ /test.php?id=$1 [NC,L])

 

this works  witha hebrew name for the test.php and with latin names as a parameter but when i put a hebrew letter/word as a parameter i get a 404

??

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.