简体   繁体   中英

SEO and migrating to ASP.Net MVC

It's well-past time for The Office's websites to be upgraded and for the main public one, I'm considering migrating the existing .Net 1.1 ugliness up to ASP.Net MVC.

The only real doubt I have is over the fairly extensive work on SEO that has been carried out on the site.

What considerations should I bear in mind regarding SEO when moving from an old webforms site to MVC urls?

If your question is only about URLs, then the answer is that redirecting the old URLs to new ones with a permanent redirect (301) should do the trick - search spiders should update the results to new links without any SEO hit.

There will be other factors to consider as well - eg changed HTML structure of pages (I hope you are not going to mimick the output of the old ASP.NET in your new web app :)).

I would take a long hard look at routing. That's going to be the key to getting the SEO working as desired on the URL's. You may also want to have html helpers for formatting the rich url's.

您应该使用以下两种方式来考虑您的旧链接:a)具有路由功能的标准Web表单,或b)制作一个大型路由表来处理对Google,Yahoo,Bing等已缓存/抓取的所有那些旧URL的请求。就像您说的那样,您已经拥有一些不错的SEO,您不希望所有这些链接突然停止工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM