Create Lowercase to Uppercase Regex 301 Redirect in .htaccess
- Tila: Closed
- Palkinto: $15
- Vastaanotetut työt: 3
- Voittaja: Mayursinh007
We are trying to match urls from the original site. We need only the letters (mb) "mbXXXX" to be capitalized in a URL like so "MBXXXX" if they are lowercase (the XXXX are numbers so they don't need to change). We were thinking of using regex with a 301 redirect in htaccess but if there is a better way then let us know.
Here is the full example:
Current URL: [login to view URL]
We need the URL to read: [login to view URL]
The site has about 100 pages that end in /Ultrasonic_Sensors/MBXXXX.htm. We need the MB letters to be capitalized on all of those pages so that is why we think the .htaccess regex would probably be the best way to force those letters to be in caps.
If you know .htaccess and redirects then this should be really easy. The first one to successfully demonstrate that this works will win this contest. Use something like this to demonstrate that it works: [login to view URL]
“Mayursinh was quick in finding a regex .htaccess redirect solution and is very knowledgeable about redirects as well as web development and design issues. He was available every time I needed him and fixed the issue a few times until it was permanent. ”
superiorux, United States.