WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

RewriteRoule for spanish
characters

Version: 3.12
printPrint


RewriteRoule for spanish
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 143
Total Posts: 374
Posted 10/10/04 - 01:39 PM:
quote post
#1
Would like to ask for advise on what would be the code to place at .htaccess in order to fit moderewrite with spanish language.

These are the characters to be changed at spanish language:
á ; é; í ; ó ; ú ; ñ


Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6014
Posted 10/10/04 - 05:01 PM:
quote post
#2
Should work the same as the German at http://www.webmastersite.net/forums/thread/4182 I guess.

RewriteRule ^([-_/+A-Za-z0-9%áéíóúñ]+)$ index.php?action=displaycat&catname=$1

would be my guess.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 143
Total Posts: 374
Posted 10/16/04 - 05:39 AM:
quote post
#3
Thank you Paul,

At the moment I'm only having the word with these characters
rewrited to a number.

Would you have other suggestion on this issue please,
in order to rewrite:

á to a; é to e; ...; Á to A;...; ñ to n. on the words who has those characteres.

Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.