Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    Regular Coder
    Join Date
    Feb 2004
    Posts
    192
    Thanks
    0
    Thanked 0 Times in 0 Posts

    case-sensitivity of a website

    I've noticed that some websites don't seem to be case sensitive. But my personal website seems to be, which is really annoying since I miss a cap here and there. I was wondering if there was a way to change your site from case-sensitive, to case-insensitive? Thanks.

  • #2
    Regular Coder
    Join Date
    May 2005
    Location
    Michigan, USA
    Posts
    566
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That is a server issue. Is it your server? If not then you might be OFL (Out of luck).
    Note: I do not test code. I just write it off the top of my head. There might be bugs in it! But if any thing I gave you the overall theory of what you need to accomplish. Also there are plenty of other ways to accomplish this same thing. I just gave one example of it. Other ways might be faster and more efficient.

  • #3
    Regular Coder
    Join Date
    Feb 2004
    Posts
    192
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Don't you mean SOL?

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Case?

    What exactly do you need case sensitivity for?
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #5
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    He means like the server is using case senstive domain names - ie, thinking

    yoursite.com

    Is not the same as

    YoURsiTe.com

    Whereas, most servers aren't case senstive.

  • #6
    Regular Coder
    Join Date
    May 2005
    Location
    Michigan, USA
    Posts
    566
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by deadseasquirrel
    Don't you mean SOL?
    I tried cleaning it up for a public board
    Note: I do not test code. I just write it off the top of my head. There might be bugs in it! But if any thing I gave you the overall theory of what you need to accomplish. Also there are plenty of other ways to accomplish this same thing. I just gave one example of it. Other ways might be faster and more efficient.

  • #7
    New Coder
    Join Date
    Aug 2005
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My solution would be to use all lower-case letters for all folder and file names so there aren't any caps to miss. Of course, it could be a huge undertaking to rename the existing ones and change all the links if the size of your site is already substantial.

  • #8
    New Coder
    Join Date
    Aug 2005
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If your site is hosted on a Linux/Unix machine, then your domain name is not case-sensitive, but all your individual pages are. You have to make sure your navigation links are the proper case.

    If your site is hosted on a Microsoft IIS platform, your page names are not case-sensitive.
    Robert
    Gee! Web Tools
    Web Content Management / Internet Marketing modules including:
    Page Editor - Calendar Manager - News Editor - Contact Organizer - Mail Wizard

  • #9
    Senior Coder gsnedders's Avatar
    Join Date
    Jan 2004
    Posts
    2,340
    Thanks
    1
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by rrhodes
    If your site is hosted on a Linux/Unix machine, then your domain name is not case-sensitive, but all your individual pages are. You have to make sure your navigation links are the proper case.

    If your site is hosted on a Microsoft IIS platform, your page names are not case-sensitive.
    It has nothing to do with the OS, it is to do, however, with the file system of the drive, whether it is case sensitive or not.

  • #10
    Regular Coder
    Join Date
    Feb 2004
    Posts
    192
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes I noticed my top level domain isn't case-sensitive, but all the files inside are. So does that mean there just aren't any ways to get around that? My webpage isn't that big so I'll just make everything lower-case from now on. But I'll keep this in mind for the future.

  • #11
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You could maybe use mod_rewrite to change the URLs to always be lower case regardless of what the user enters but other than that, unless the server is yours you can't prevent the case sensitivity.
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •