English 中文(简体)
搜索引擎优化: 如黄页这样的站点如何通过搜索引擎获得所有列表?
原标题:Search Engine Optimization: How do sites like Yellow Pages get all their listings found by search engines

我试图建立一个本地餐厅列表/评审网站。 我忍不住注意到,如果我在网站上搜索一家餐馆,像黄页或叶尔普这样的网站就有一个排在餐厅名单首位的列表。 显然,他们没有美国每个餐馆的单独网页,但搜索引擎正在读取他们的信息数据库。 如何做到这一点呢?

提前感谢。

最佳回答

信息存储在数据库中,一个模板页面只是从数据库中提取并显示信息。 URL 显示 是一个独一无二的餐厅页面, 智能使用URL 重新撰写, 或在.NET中使用 < a href=" http://msdn.microsoft.com/ en-us/library/cc668201.aspx" rel=“nofollow” > 路由 。

Routing 基本上需要一个 GET 参数从 URL 中提取, 将它作为伪路径融入 URL, 然后使用该参数获取数据库记录以显示餐厅 。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签