SEO - 将一个带有参数的动态文件分割成固定名称文件
所以我有一个现有的房地产网站。所有搜索都通过一个 php 文件,即: sales_search.php?city=boston&br=4
如果我创建以下文件:
boston-1-br.php
Boston.2-br.php
boston-3-br.php
boston-4-br.php
brookline-1-br.php
brookline-2-br.php
brookline-3-br.php
brookline-4-br.php
等等...
然后,我会尽可能使用这些来代替 sales_search?city=XXX&br=NNN,并且仅使用 sales_search.php 进行“高级”搜索。这些新文件在从数据库中提取内容时仍然是动态的。
这对排名有帮助吗?伤害他们?浪费时间?想法?建议?
So I've got an existing real estate site. All the searches go through one php file, ie: sales_search.php?city=boston&br=4
If I create the following files:
boston-1-br.php
boston.2-br.php
boston-3-br.php
boston-4-br.php
brookline-1-br.php
brookline-2-br.php
brookline-3-br.php
brookline-4-br.php
etc…
I would then use these in place of the sales_search?city=XXX&br=NNN wherever possible and only use sales_search.php for 'advanced' searches. These new files are still dynamic as they pull content from a database.
Would this help the rankings? Hurt them? Waste of time? Thoughts? Suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为它们不会帮助或损害排名。页面上的内容更为重要。这些页面之间的内容有何相似度?当页面的名称彼此非常相似时,它可以触发一个标志,使蜘蛛寻找门口页面。如果内容足够多样化,您就不用担心。
您是否考虑过使用 url 重写器并将它们转换为 .htm 文件?关于它有很多争论,但我个人注意到 .htm 文件比 .php 更好
I don't think they'll help, or hurt rankings. The content on the page is far more important. What is the similarity of the content between these pages? When pages are named very similar to each other it can trigger a flag to make the spider look for doorway pages. If the content is varied enough you have little to worry about.
Have you considered using a url rewriter and turning them into .htm files? There have been a lot of arguments about it, but I have personally noticed .htm files do better than .php