Reputation: 11
I just joined a team to manage a asp.net 4 website with 1000+ pages of the url format
http://www.abcdefgh.com/ShowBooks.aspx?ID=1420
but it gets changed to
http://www.abcdefgh.com/(S(sdfdsf9835fgfdjgdfgderd55)X(1))/ShowBooks.aspx?ID=1420
or
http://www.abcdefgh.com/ShowBooks.aspx?ID=1420&AspxAutoDetectCookieSupport=1420
This I suppose is happening from a couple of months and the traffic is heavy on this site. How can I prevent this url changing from happening? I want all URLs to be of this format only:
http://www.abcdefgh.com/ShowBooks.aspx?ID=1420
I have noticed three entries in my web.config
<authentication mode="Forms">
<forms cookieless="UseCookies" loginUrl="~/NoAccess.aspx" name="FORMAUTH"/>
</authentication>
<sessionState cookieless="AutoDetect"/>
<anonymousIdentification cookieless="AutoDetect" enabled="false"/>
What disadvantage will it have if I remove cookieless attribute from these URLs. WIll it break the earlier bookmarked URLs or will Google/Bing SEO be affected in any way?
Upvotes: 1
Views: 499
Reputation: 108967
Try this in your web.config
<sessionState mode="InProc" cookieless="false" timeout="15" />
to get rid of AspxAutoDetectCookieSupport
in url
Upvotes: 4