URL Redirects Not Working – Returning ERROR 400 Bad Request

For context, we migrated our store from PHP to Shopify two months ago.

The URL redirects are set up as shown in this image
Our website’s old PHP URLs are configured in the “Redirect from” field, and the new Shopify page URLs are added in the “Redirect to” field:

Redirect from: /breakthrough.php
Redirect to: /collections/massage-chairs

To clarify, I’m referring specifically to path-based redirects, not domain-level redirects.

Ideally, when URL redirects are properly configured, accessing https://medicalbreakthrough.com/breakthrough.php should redirect the user to https://medicalbreakthrough.com/collections/massage-chairs.

This used to work as expected but is now returning an “ERROR 400 Bad Request.”

I’d really appreciate help from someone who is familiar with Shopify’s redirect functionality to help resolve this issue.

Hi @Kranthi_Rayudu
After setting redirects, it takes some time to take into effect.
Please check after some time and it should work fine

Thanks!

Hi @pawankumar , this issue is now resolved. Apparently, there was a widespread configuration issue on Shopify servers related to .php file extensions or specific legacy paths. The Shopify server was returning a 400 error when a redirect URL contained a .php extension.