简体   繁体   English

搜索结果 URL 映射

[英]Search result URL mapping

Can I map the search result url to a static URL?我可以将 map 搜索结果 url 转换为 static ZE6B391A8D2C4D55902DZ3A8?

If you search stack , most search engine result url will be /?q= stack , but i want to map the result url to be / 1如果你搜索堆栈,大多数搜索引擎结果 url 将是 /?q=堆栈,但我想 map 结果 url 是 / 1

If you search overflow , the result url will be / 2 ...如果搜索溢出,结果 url 将为 / 2 ...

What is your ideas?你的想法是什么?

Yes, you could do this by treating the # in "/#" as a query string instead of a file.是的,您可以通过将“/#”中的 # 视为查询字符串而不是文件来执行此操作。 This can be done through your web server.这可以通过您的 web 服务器来完成。 You could store that Search_ID in the database with the associated results.您可以将该 Search_ID 与相关结果一起存储在数据库中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM