what Posted August 3, 2008 Share Posted August 3, 2008 I was asked to help someone with their site and it's beyond me but on one of the pages that contains MANY links they have the page names mixed in upper and lower case, ie. <a href="PAGE.html"></a> The pages are a mixed bag of upper and lower pages too. There is no rhyme or reason for it, it was just a randome act of dumbness I guess. My question is, is there any php I can introduce that will make it not matter the case of the lettering and still find the page? I guess I will need to keep the extension as .html too because of the shear numbers that I will need to change (a few hundred pages and anchor tags) thanks Quote Link to comment https://forums.phpfreaks.com/topic/117977-case-sensitive-on-new-server-and-hrefs-and-pages-are-both-upper-and-lower-case/ Share on other sites More sharing options...
ignace Posted August 3, 2008 Share Posted August 3, 2008 .htaccess convert every upper case .html file to lowercase and fetch the file if the lowercase html file exists Quote Link to comment https://forums.phpfreaks.com/topic/117977-case-sensitive-on-new-server-and-hrefs-and-pages-are-both-upper-and-lower-case/#findComment-606945 Share on other sites More sharing options...
what Posted August 3, 2008 Author Share Posted August 3, 2008 Okay, but I think I need to convert the file names to all upper case because the hrefs are all named in upper case. What do I call this type of htacces file so I can find it, or can you post the code possibly?? Thanks for your advice. Quote Link to comment https://forums.phpfreaks.com/topic/117977-case-sensitive-on-new-server-and-hrefs-and-pages-are-both-upper-and-lower-case/#findComment-606953 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.