Redirect /español to /espanol

Common questions to Helicon Tech
User avatar
Posts: 3
Joined: 20 Feb 2014, 19:23

Redirect /español to /espanol

20 Feb 2014, 19:42

I am trying to redirect /español to /espanol

I have tried several ways of doing so including:

espa(Ñ|ñ|%C3%B1|Ñ|%F1|0xc3b1|ñ|ň)ol/?$

I have tried redirecting each one of these by themselves as well, but none of them will match the "ñ".

Right now I have a meta refresh if the url is "espa%C3%B1ol/" in the code and that works but only after showing the 404 page...I need to get it working in isapi. Does anyone know of a way I could get this working?

Electricwino

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Redirect /español to /espanol

21 Feb 2014, 10:18

Hello,

What product are you using? ISAPI_Rewrite2 or 3? or is it HeliconApe?

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Redirect /español to /espanol

21 Feb 2014, 10:49

It should be enough for you to just save .htaccess in unicode and it should work fiune with "ñ"

User avatar
Posts: 3
Joined: 20 Feb 2014, 19:23

Re: Redirect /español to /espanol

21 Feb 2014, 13:00

I am using ISAPI_Rewrite3 on IIS


Electricwino

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Redirect /español to /espanol

21 Feb 2014, 13:38

Did you try using something like:

RewriteRule ^español$ /espanol [NC,R=301,L]

and save it in unicode?

Regards

User avatar
Posts: 3
Joined: 20 Feb 2014, 19:23

Re: Redirect /español to /espanol

21 Feb 2014, 17:28

I had tried just about everything I could think of including unicode.
The client was getting impatient so I decide to do the redirect in ColdFusion.

I searched for "/espa%c3%b1ol/" and used a cflocation to redirect it to "/espanol" and that worked.
I was just not able to get it to work in isapi 3 on IIS.

Thank you for all of your suggestions.

User avatar
Posts: 1
Joined: 13 Oct 2015, 05:34

Re: Redirect /español to /espanol

13 Oct 2015, 05:38

Hi! I leave information about the java programming master, I hope you find it helpful!
http://www.euroinnova.edu.es/Master-En-Programacion-Aplicaciones-Java


User avatar
Posts: 2
Joined: 24 Aug 2017, 04:14

Re: Redirect /español to /espanol

24 Aug 2017, 04:20

"/espa%c3%b1ol/" and used a cflocation to redirect it to "/espanol"
Other useful resources:
Spanish English translator online, bullet force multiplayer games

User avatar
Posts: 3
Joined: 07 Oct 2017, 06:55

Re: Redirect /español to /espanol

25 Oct 2017, 17:31

Thanks a lot for posting that info here

Return to Common Questions

Who is online

Users browsing this forum: No registered users and 0 guests