My company has a promotion in a magazine that was created before we implemented our new site. Since the release of the new site we use a inbound rewrite rule to redirect anything with a www. This advertisement however is http://www.openeye.net/2011rspromo/ so when a user visits it it redirects back to the homepage.
I need it to redirect to http://openeye.net/promotions/reportstar-free-cm-610/ instead and can't seem to find the right combination in URL Rewrites to get it to work.
Any help would be appreciated.
Default www redirect
What I'm trying to do
Best Answer
It is a better approach to this issue to register an additional
www.openeye.net
as an additional host header for theopeneye.net
site.You can do this in IIS7 by right-clicking the site and selecting Edit Bindings. There should be one default binding such as
**This should be either the IP of your server or "All Unassigned".*
Click Add, then enter a new binding with all of the same information, except that the Host name should read "www.openeye.net" instead of "openeye.net". When you are done your binding will look like:
Please note that this will not actually redirect the request for
http://www.openeye.net/2011rspromo/
tohttp://openeye.net/2011rspromo/
, but will bind any such requests to the intended location. So, both URLs will resolve to the same resource.