Solved

uppercase in URL

Posted on 2010-09-19
5
394 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
Comment Utility
what are you using for rewrite
0
 

Author Comment

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

Expert Comment

by:bgoering
Comment Utility
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
Comment Utility
The problem was caused by the old version of the website
0
 
LVL 11

Expert Comment

by:mattibutt
Comment Utility
well good luck and thanks for the points
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Running Baan iV on VMware 3 70
Vmware Unsufficient Memory 7 44
Exchange in VMware 14 49
Problem to page 4 17
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now