How to define one version of URLs and redirect/rewrite any others (low/upper letters)

Discussion in 'HTML & Website Design' started by yocredit, May 26, 2010.

  1. #1
    Hi Guys,

    I would like to ask about help.
    There is following things I need to ask. I am working on website for my client but the previous one had a special function of URL rewriting.

    See below:

    1. My client had a website with Search Engine Friendly URLs
    2. This website has example structure:
    domain.com/example-page.html
    domain.com/example-page2.html
    domain.com/John-Smith.html
    3. As you see sometimes there are capital letters in file names
    4. When you trting to change any letter in filenames there is 301 redirection to earlier defined version of URL
    for example:

    domain.com/eXamPle-page.html > Redirection 301 > domain.com/example-page.html
    domain.com/John-Smith.html > Redirection 301 > domain.com/john-smith.html

    That means its impossible to make duplicate content.

    NOW:
    I want to know how they done this. How the previous web design company wrote this. Where the URL case definitions are stored and how to make this for other websites.

    Please help...
     
    yocredit, May 26, 2010 IP