PHP library for keeping your site Indexed by Googl

2019-07-19 18:22发布

I need some library which would be able to keep my urls Indexed and described. So I want to say to it something like

Index this new url "www.bla-bla.com/new_url" with some key words

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?

标签: php url indexing
2条回答
时光不老,我们不散
2楼-- · 2019-07-19 19:00

There is no way to (immediately and on-demand) manipulate the search results in any search engine. It will always take at least a week for your site to be indexed (maybe even longer).

查看更多
\"骚年 ilove
3楼-- · 2019-07-19 19:05

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>

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.

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.

查看更多
登录 后发表回答