Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to handle existing indexed Mixed Case url's? [closed]

I have an asp.net web forms application that has been live for a number of years and as such has quite a lot of indexed content on google.

Ideally, I'd prefer that all Url's for the website are in lowercase but I understand that having 2 versions of the same content indexed in search engines (MixedCase.aspx and mixedcase.aspx) will be bad for seo.

I was wondering:

a) Should I just leave everything in its current Mixed Case form and never change it?

OR

b) I can change the code so everything is in lowercase from here on in, BUT, is there a way of doing this so as the search engines are aware of this change and don't penalise me?

like image 863
marcusstarnes Avatar asked Oct 25 '22 23:10

marcusstarnes


2 Answers

Having two versions of the same URL will cause duplicate content issues, although the search engines are generally smart enough to know that the two pages are the same.

There are two good solutions. The first is to use the canonical meta tag to specify your preferred version of the URL. With this solution, both MixedCase.aspx and mixedcase.aspx would show the same page, but the search engines know for definite which is the "correct" URL to show. Make sure you update all your links to the lowercase version.

The second solution is to use 301 Redirects. Usually this is preferred because users will always wind up at the correct page. If they decide to link to it, they're using the correct version. As Rocky says, the redirects will need to stay in place permanently if you already have links from other sites. However, technical (or time) limitations may mean you need to use the canonical method.

like image 75
DisgruntledGoat Avatar answered Nov 09 '22 10:11

DisgruntledGoat


You are wise to be wary of having two URLs serving the same content, as you will experience duplicate content issues from the search engines.

You can transfer your URLs, and their PR, from mixed case to lower case without too much of an issue by providing a 301 response code on the old mixed case URLs to the new lower case URLs.

So you would essentially have two URLs for every page:

  • Old mixed case URL which 301 redirects to the lower case URL
  • New lower case URL which serves the content

You will need to keep the old URLs in effect for a long time, possibly permanently (e.g. especially if there are third party links to them). Having done this myself, the search engines will continue to request the old URLs for years, even when they know that they redirect to the new URLs (Yahoo, in particular, was guilty of this).

like image 29
Rocky Madden Avatar answered Nov 09 '22 11:11

Rocky Madden