laravel - 重定向 301 不起作用 htaccess laravel
问题描述
目前我有这个工作示例链接
https://sample.com/product-landing?id=1
但在网站上:google.com
它被检测为https://sample.com/product-landing?id=1/homebrewing
现在我正在尝试像这样重定向它
Redirect 301 /product-landing?id=1/homebrewing https://sample.com/product-landing?id=1
但它不工作
我的其他重定向代码是这样的
Redirect 301 /wine https://sample.com/mybeer
工作正常。怎么来的?
解决方案
推荐阅读
- php - iCloud 没有收到通过 PHP 发送的电子邮件
- python - 创建一个从零返回数字的类的最 Pythonic 方法是什么?
- python-3.x - pymongo.MongoClient 在创建实例时没有连接
- kubernetes - 具有 RWO 访问模式的 hostPath PV,用于在多个 pod 之间共享
- go - 在 Go 中取消带有自定义错误的上下文
- c# - UniRx 没有 Observable.Generate() 方法
- asp.net - 在 VB.Net 中使用 ParamArray 传递对象或对象数组作为参数
- php - laravel sql 语句 - 如何在 where isnot 中添加附加子句 - 'where' '!=' OR
- razor - 如何将 depencey 注入模式与自定义外部 .NET 标准 DLL 一起使用
- autohotkey - 即使脚本关闭,Shift 键仍保持按下状态