Help with redirect from old to new URL

kfawcett nginx-forum at
Sun Sep 9 13:54:56 UTC 2012


We are switching vendors for our property searches and each one formats the
URLs a little bit differently. We already have 40,000+ URLs indexed and want
users to be 301 redirected to the new URL.

The only difference in the URLs is a switch from underscores to hyphens, and
from /idx/ to /property/. 

Here is the old URL:

Here's the new URL:

Any ideas how to redirect all of these URLs without knowing what every one
of the 40,000+ URLs are?


Posted at Nginx Forum:,230584,230584#msg-230584

More information about the nginx mailing list