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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.