uppercase in URL

Dear,
I changed my entire website and I want to make shure every old page can be reached. I used as much as possible the old url's, but I changed some subdirectories from .../NL/....aspx to ...../nl/....aspx.
Google indexed all old directories and I don't want to loose pagerank.
Is there a simple piece of code that I can put into the webconfig or somewhere else that looks at the whole URL and in case it is in uppercase, it redirects to the file in lowercase, and has to be SEO friendly.
The reason I want to do this is because my navigation is pointing to the subdirecties in lowercase.
ownerAsked:
Who is Participating?
 
mattibuttCommented:
what are you using for rewrite
0
 
ownerAuthor Commented:
Hi,
<%  Response.Redirect("http://www.mywebsite")%>
This is a redirect, not a rewrite!
0
 
bgoeringCommented:
With IIS case shouldn't matter - the browser will still retrieve the page whether the path is upper or lower case. Maybe I am not understanding the issue?
0
 
ownerAuthor Commented:
The problem was caused by the old version of the website
0
 
mattibuttCommented:
well good luck and thanks for the points
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.