Jump to content

case sensitive on new server and hrefs and pages are both upper and lower case!


Recommended Posts

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

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.