Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 410
  • Last Modified:

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.
0
owner
Asked:
owner
  • 2
  • 2
1 Solution
 
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

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now