Uppercase URL not working. please HELP

Discussion in 'Site & Server Administration' started by KingCobra, May 6, 2012.

  1. #1
    My web site url not working if I use uppercase after domain name ' / '.
    When I use uppercase after ' / ' then Page Not found error message shows.

    Example:
    Works: http://xyz.co.uk/abc1/
    Works: http://xyZ.co.uk/abc1/ (browser automatically make Z lowarcase)

    Not works: http://xyz.co.uk/Abc1/

    I need all upper case or lower case or mixed case working.

    How can i solve it?
    Do I need to solve from web hosting control panel? How?
    or Do I need to use .htaccess? If yes then what code i have to write?

    PLEASE HELP ME.
    THANKS IN ADVANCE.
     
    KingCobra, May 6, 2012 IP
  2. SagarRox

    SagarRox Active Member

    Messages:
    256
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    #2
    Please note that all characters after the "/" are case sensitive. It depends on the name of the file that has been uploaded on the server.

    You must use only the exact case with which the file was named.

    Hope that helps.
     
    SagarRox, May 6, 2012 IP
  3. fixyourserver

    fixyourserver Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #3
    If you have access to the server, you probably want to consider installing mod_speling for Apache. This resolve your issues. Here's a snippet from the Apache page for the module:
     
    fixyourserver, May 6, 2012 IP
  4. djacobs

    djacobs Well-Known Member

    Messages:
    238
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Domain names are case insensitive so of course the "Z" is going to covert to lowercase.

    As far as the "Abc1" is this a folder or do you use some script to rewrite?

    Regardless you need to setup a .htaccess with some code.
    Take a look at http://www.generateit.net/mod-rewrite/
     
    djacobs, May 13, 2012 IP
  5. tzoly

    tzoly Member

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #5
    Try using mod_rewrite :) Good Luck!
     
    tzoly, Jun 4, 2012 IP