PHP库,可让您的网站被Google Bing等收录 [英] PHP library for keeping your site Indexed by Google Bing etc
问题描述
我需要一些能够将我的网址编入索引并进行描述的库.所以我想说类似的东西
I need some library which would be able to keep my urls Indexed and described. So I want to say to it something like
使用一些关键字为这个新网址"www.bla-bla.com/new_url"建立索引
Index this new url "www.bla-bla.com/new_url" with some key words
或类似的东西.而且我想确保,如果我告诉我的lib我的新网址,Google和其他人将100%尽快找到它,并且人们将能够在网络上找到该URL.
or something like that. And I want to be soure that If I told my lib about my new URL Google and others will 100% find it As soon as possible and people will be able to find this URL on the web.
您知道任何这样的库吗?
Do you know any such libs?
推荐答案
我不知道会实现此目的的任何库,但我认为您需要对搜索引擎优化进行一些阅读.据我了解(如果我错了,请纠正我),当Google Bot到您的网站对其建立索引时,它将检查一个名为sitemap.xml的文件.在此文件中,您可以按以下方式定义属性;
I do not know of any librarys that will achieve this but I think you need to do some reading on Search Engine Optimisation. From my understanding (and please correct me if I am wrong) when a Google Bot comes to your website to index it, it will check for a file called sitemap.xml. In this file you define properties as follows;
<url>
<loc>http://www.myhost.com/mypage.html</loc>
<lastmod>YYYY-DD-MM</lastmod>
<changefreq>monthly</changefreq>
<priority>1.00</priority>
</url>
据我所知,您不能为特定页面指定特定关键字.使用META标签可以在一定程度上(可以说)影响这一点.主要影响将是页面的实际内容.
As far as I know, you can not specifiy particular keywords for a particular page. The use of META tags can to "some" (arguably) extent influence this. The main influence will be the actual content of the page.
我建议您使用Google的网站站长工具",它会为您提供有关网站索引的反馈/错误.您可以将您的网站添加到Google 并加入索引队列.
I would recommend the use of Google's "Webmaster Tools" which will give you feedback/errors about the indexing of your site. You can Add your site to google and join a queue for indexing.
有几种我没有经验的自动站点地图生成器,因此无法对此发表评论.
There are several Automated Sitemap Generators, which I have had no experience with so can not comment on these.
这篇关于PHP库,可让您的网站被Google Bing等收录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!