Solved

uppercase in URL

Posted on 2010-09-19
5
396 Views
Last Modified: 2012-08-13
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
Comment
Question by:owner
  • 2
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
mattibutt earned 250 total points
ID: 33711067
what are you using for rewrite
0
 

Author Comment

by:owner
ID: 33711582
Hi,
<%  Response.Redirect("http://www.mywebsite")%>
This is a redirect, not a rewrite!
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33713168
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
 

Author Closing Comment

by:owner
ID: 33824815
The problem was caused by the old version of the website
0
 
LVL 11

Expert Comment

by:mattibutt
ID: 33825186
well good luck and thanks for the points
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question