将搜索结果从 google 重定向到特定页面

发布于 2024-09-08 10:12:02 字数 359 浏览 3 评论 0原文

您好,

我有一个具体要求,当用户在 google.com 中搜索时,它会返回一个结果列表,其中一个结果是我的网站,但它指向另一个页面。

我在 2 个地方需要帮助,

  1. 客户计划增强我的网站,以便我网站的任何链接出现在 google 结果中都应显示为 cars.com/search.jsp?search=audi。我将在我的 search.jsp 或 search.php 页面中添加逻辑,将用户导航到适当的页面。

  2. 或者在我网站的所有页面中使用 http_referrer 内容来重定向到不同的页面对我有帮助吗?

这是否可以实施,请指导我。

谢谢 戈皮

HI,

I have a specific requirement, when a user searches in google.com which returns me a list of results and one of the results is my website but it is pointing to a different page.

I need help in 2 places,

  1. Client is planing to enhance my website so that what ever link of my website appears in google results should show as cars.com/search.jsp?search=audi. I will be having the logic in my search.jsp or search.php page which navigates the user to an appropriate page.

  2. Or will the use the http_referrer stuff in all the pages of my website to redirect to different pages helps me in this case ?

Is this possible to implement, please guide me regarding this.

Thanks
Gopi

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妳是的陽光 2024-09-15 10:12:02

我的网站出现在 Google 结果中的每个链接都应显示为 cars.com/search.jsp?search=audi。我将在我的 search.jsp 或 search.php 页面中添加逻辑,将用户导航到适当的页面。

哼?实现此目的的唯一方法是让 Google 索引恰好一页,即 cars.com/search.jsp?search=audi。你可能不想要这样。

或者在我网站的所有页面中使用 http_referrer 内容来重定向到不同的页面对我有帮助吗?

这是一种可能性,但请注意,如果显示的页面与 Google 索引的页面显着不同,您将违反其条款,并面临被从 Google 索引中删除的风险。

every link of my website appears in google results should show as cars.com/search.jsp?search=audi. I will be having the logic in my search.jsp or search.php page which navigates the user to an appropriate page.

Hum? The only way to do this is to have Google index exactly one page – that is, cars.com/search.jsp?search=audi. You probably don't want that.

Or will the use the http_referrer stuff in all the pages of my website to redirect to different pages helps me in this case ?

This is a possibility, but beware that if show pages that are significantly different than what Google indexes, you'll be violating their terms and risk yourself to being removed from Google's index.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文