如何使我的mysql数据库记录对搜索引擎可见? [英] How can I make my mysql database records visible to search engines?

查看:115
本文介绍了如何使我的mysql数据库记录对搜索引擎可见?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在创建一个名为mySite的分类广告网站,并希望在google中搜索
honda + mySite 的所有广告'honda'或标题'honda'从我的数据库。

I am creating a classifieds website called 'mySite', and I want whoever searches for honda +mySite in google, to find all ads with the description 'honda' or headline 'honda' from my database.

这是怎么做的? (每个广告的htm页面,然后在用户点击打开htm页面时加载广告数据)

How is this done? (a htm page for every ad? which then loads the 'ad data' when user clicks to open the htm page?)

我有一个例子, : www.blocket.se 是瑞典的网站,你可以买几乎任何东西。

I have an example for you to look at: www.blocket.se is a swedish site where you can buy almost anything. I am guessing they dont actually have 500thousand html pages just so that google can find them right?

尝试在google中搜索: blocket + bmw 330ci。我猜想他们实际上没有500页和html页面, ,您将看到来自blocket.se数据库的结果。

Try searching this in google: blocket +bmw 330ci and you will see results from blocket.se database.

问题是:他们怎么做?

Question is: How have they done it? and how should I do it so that I have the same functionality?

感谢

如果您需要更多输入告诉我,我会更新!

If you need more input tell me and I will update!

推荐答案

您不需要每个广告的实际html页面。大多数时候,有一个网页查看网址并相应地显示内容。

You don't need an actual html page for every advertisement. Most of the time there is one page that looks at the url and displays content accordingly.

mysite.com/honda
mysite.com/acura
mysite.com/bmw

所有这些网址由一页处理。该网页将使用网址来查找要显示的内容并仅投放该内容。

All of these urls would be handled by one page. The page would use the url to find what content to display and serve just that content.

基本上你只是创建一个网站,谷歌做其余

Basically you're just creating a website and google does the rest

这篇关于如何使我的mysql数据库记录对搜索引擎可见?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆