Forum Moderators: phranque

Message Too Old, No Replies

rewrite capitals

         

coolpaul

9:38 am on Sep 16, 2005 (gmt 0)



can i rewrite urls that are in capitals to small case so that the url is found?

Thanks

jdMorgan

3:28 pm on Sep 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



coolpaul,

Welcome to WebmasterWorld!

Yes, if you have only a few URLs and each URL contains only a few capitals. Otherwise, it can be horribly inefficient. You can also use Apache mod_speling or mod_negotiation (content-negotiation) in some cases. All of these solutions degrade your server performance for all requests, and should be avoided if possible.

An alternative is to use a multi-file search-and-replace editor to fix your on-site links so that this is not necessary for the majority of URLs, and then use one of these server-side methods to fix the few requests from other sites with incorrect capitalization as needed.

I can't be more specific without a better description of the nature and scope of your problem.

Jim