SEO 和迁移到 ASP.Net MVC

发布于 2024-09-09 06:00:28 字数 169 浏览 3 评论 0原文

Office 网站的升级已经过去了,对于主要的公共网站,我正在考虑将现有的 .Net 1.1 丑陋之处迁移到 ASP.Net MVC。

我唯一真正怀疑的是该网站上进行的相当广泛的 SEO 工作。

从旧的 Webforms 网站迁移到 MVC url 时,关于 SEO,我应该牢记哪些注意事项?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

黄昏下泛黄的笔记 2024-09-16 06:00:28

如果您的问题只是关于 URL,那么答案是使用永久重定向 (301) 将旧 URL 重定向到新 URL 应该可以解决问题 - 搜索蜘蛛应该将结果更新为新链接,而不需要任何 SEO 命中。

还需要考虑其他因素 - 例如更改页面的 HTML 结构(我希望您不会在新的 Web 应用程序中模仿旧 ASP.NET 的输出:))。

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 - e.g. 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 :)).

独享拥抱 2024-09-16 06:00:28

我会仔细研究路由。这将是让 SEO 在 URL 上按预期工作的关键。您可能还需要 html 帮助程序来格式化丰富的 url。

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.

触ぅ动初心 2024-09-16 06:00:28

您应该考虑使用 a) 带路由的标准 Web 表单或 b) 制作一个大型路由表来处理对所有已被 Google、Yahoo、Bing 等缓存/抓取的旧 URL 的请求。正如你所说,你已经有了一些良好的搜索引擎优化,你不希望所有这些链接突然停止工作。

You should consider your old links using either a) standard web forms with routing or b) making a large routing table that handles request for all of those old URLs that have already been cached / scraped by Google, Yahoo, Bing, etc. If, as you say, you already have some good SEO in place, you don't want all of those links to suddenly stop working.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文