【问题标题】:how to show dynamic html page instead of aspx page with query string variables如何使用查询字符串变量显示动态 html 页面而不是 aspx 页面
【发布时间】:2012-06-26 17:53:54
【问题描述】:

我们正在使用框架 3.5,请告诉我如何实现以下目标

而不是显示

http://www.mydomain.com/microsite/index.aspx?projid=3&adid=5

我想展示类似的东西

http://www.mydomain.com/[cityname]/[keyword]/[customer-project-name]/index.html

其中 [cityname],[keyword],[customer-project-name] 将根据 projid、adid 动态变化

我们想为 SEO 这样做

【问题讨论】:

标签: asp.net url-rewriting seo


【解决方案1】:

使用 Urlrewritting 使您的网页更加 Url/用户友好。

请考虑阅读下面提到的文章,这可能对您有所帮助。

http://msdn.microsoft.com/en-us/library/cc668201.aspx

How to SEO friendly an existing ASP .NET 3.5 web application under IIS6

【讨论】:

    【解决方案2】:

    您可以创建一个重写 url 的 HttpModule 或使用现有的 Url 重写模块,如 UrlRewriter.netHere 是一篇关于这个主题的博文。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多