0

Hi All,

I have enabled the 301 redirect on IIS 6 for my old site,the option for passing the query string is enabled in the IIS as mentioned in this article.

http://www.developerfusion.com/code/4678/permanent-301-redirect-with-querystring-in-iis/

My old site is webforms based while my new site is asp.net mvc 3 based.

I get the query string on the redirected site,but having problem for one specific url redirect.

The redirection for this link http://oldsite.com/blog/123-this-is-a-title.aspx goes to
http://newsite.com/blogpost.aspx?blogpostid=888&/blogpost.aspx.I loose the title from my old site.

I need the title of the post from the old site to come in my new site in the url,so that the custom route in my asp.net mvc apps can read the title from the url and get the blog post id for the title.

Please let me know why i am not getting the title of the post on my new site when redirect happens and how to get the title from the old url to my new sites url.

Thanks.
S.

2
Contributors
1
Reply
8
Views
5 Years
Discussion Span
Last Post by LastMitch
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.