Solved

uppercase in URL

Posted on 2010-09-19
5
395 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

919 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

16 Experts available now in Live!

Get 1:1 Help Now