Jump to content

htaccess - non case sensitive redirects?


wilsonf1

Recommended Posts

Apparently, this directive doesn't support [NC] or other modifiers: http://httpd.apache.org/docs/current/mod/m...s.html#redirectRedirectMatch allows you to use a regular expression. Something like this could work:

RedirectMatch ^/[Ff][Oo][Ll][Dd][Ee][Rr]$ /folder.htm

Link to comment
Share on other sites

Apparently, this directive doesn't support [NC] or other modifiers: http://httpd.apache.org/docs/current/mod/m...s.html#redirectRedirectMatch allows you to use a regular expression. Something like this could work:
RedirectMatch ^/[Ff][Oo][Ll][Dd][Ee][Rr]$ /folder.htm

Hmmm that looks pretty complicated for a simpleton like me! I tried it and it didn't redirect me to folder.htm, i just got a page not foundis there no way I can put the whole incoming url in lower case, then my current lower case direct rules will be valid no?
Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

×
×
  • Create New...