Create Lowercase to Uppercase Regex 301 Redirect in .htaccess

  • Status: Closed
  • Prize: $15
  • Entries Received: 3
  • Winner: Mayursinh007

Contest Brief

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]


Recommended Skills

Employer Feedback

“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. ”

Profile image superiorux, United States.

Top entries from this contest

View More Entries

Public Clarification Board

  • Mayursinh007
    • 1 year ago

    i know how to do it can you message me...

    • 1 year ago

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!