Most completely dynamic web sites allow nearly every page to be found, crawled and indexed by search engines. How would this be properly implemented to allow a completely dynamic web site to be search engine-friendly? Note that there is no directory structure, users can type in complex URLs (www.example.com/news/recent
) but the folder structure doesn't actually exist, it is all handled by htaccess, which submits the url entered to the main web application for page generation.
问问题
125 次
1 回答
2
搜索引擎访问网站的方式几乎与访问者相同。如果搜索引擎网络爬虫访问 www.example.com/news/recent,它将索引结果,然后可以搜索。
大多数网站都有指向内容的静态链接,因此热门新闻文章可能在 www.example.com/news/recent 上,但也可能在 www.example.com/news/9234 上。这使搜索引擎可以永久链接到某个地方。搜索引擎并不关心 www.example.com/news/9234 是否真的加载了 www.example.com/pages/newsitems.php?item=9234,这都是隐藏的。
另一种方便的方法是通过站点地图,它为搜索引擎提供了网站上页面的直接列表/地图,可以更复杂/不那么漂亮。
于 2013-06-19T19:13:13.663 回答