Redirect Criteria

Posted by Dana Boehm on August 13, 2015

We are launching a new website and currently have links that enter our existing site with source codes appended. We would like to redirect to the new site with the same source codes. Is there a way to do this?

For example we would like to redirect to
We have hundreds of different source types so it not feasible to create redirects for each of the individual source codes.

I'm thinking something along the lines of as a redirect to$1 if one was using an .htaccess file


   0 people like this question
15 30 50   per page
Hi James, 

I was hoping to do this in the redirects. Alternatively does the order of redirect within Agility account for which redirect happens first?

For example if I have redirecting to listed before* redirecting to, will it redirect on the first match it finds?

Thanks!  - Dana
Posted By: Dana Boehm

Hi Dana,

For this, we would recommend adding custom logic in your Global.asax file in the application_BeginRequest method. There you can capture any incoming request and re-route them programatically.

Posted By: James Vidler

Previous Next


Log in with your Agility username and password or
register for the site

Log In