如何使Google搜索我的网站的动态页面 [英] How to make google search dynamic pages of my site
问题描述
我正在计划使用mysql在php上提供信息的站点. 我已经阅读了有关Google站点地图和网站管理员工具的信息.
I am planning an informational site on php with mysql. I have read about google sitemap and webmaster tools.
我不理解的是,谷歌将能够使用这些工具中的任何一种来索引我网站的动态页面.
What i did not understand is will google be able to index dynamic pages of my site using any of these tools.
例如,如果我有类似www.domain.com/articles.php?articleid=103的URL
For example if i have URLs like www.domain.com/articles.php?articleid=103
显然,此页面将始终具有相同的标题和相同的元信息,但内容将根据articleid进行更改.因此,谷歌将如何了解页面上显示在搜索结果中的文章.
Obviously this page will be having same title and same meta information always but the content will change according to articleid. So how google will come to know about the article on the page to display in search.
我是否可以通过某种方式获得这些页面的Google排名
Is there some way that i can get google rankings for these pages
推荐答案
您也可以将网址设置为 SEO 与www.domain.com/articles/103
You could alternatively make the url SEO friendly with mod_rewrite www.domain.com/articles/103
RewriteRule ^articles/(.*)$ articles.php?articleid=$1 [L]
我建议您给每个页面相关的元标记不超过80个字符,并且不要将文章内容放置在table
标记内,如 Google的展示位置算法是严格的,随机不相关的链接也会对排名产生不利影响.
I do suggest you give each individual page relevant meta tags no more then 80 chars and dont place the article content within a table
tag as googles placement algorithm is strict, random non related links will also do harm to the rank.
这篇关于如何使Google搜索我的网站的动态页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!