Redirect nginx:[emerg]参数冲突(使用nginx/map进行批量重定向)
我正在将旧站点迁移到新平台。我有一个巨大的URL列表要转发到新的URL。我实现这一点的方式基于以下答案: /etc/nginx/oldnew.mapRedirect nginx:[emerg]参数冲突(使用nginx/map进行批量重定向),redirect,nginx,Redirect,Nginx,我正在将旧站点迁移到新平台。我有一个巨大的URL列表要转发到新的URL。我实现这一点的方式基于以下答案: /etc/nginx/oldnew.map ... other links ... /Catalogue/Navigate/category-paints-thinners /parts-by-category/paint-accessories.html; /Catalogue/Navigate/category-paints-thinners?catalogueLevelItemI
... other links ...
/Catalogue/Navigate/category-paints-thinners /parts-by-category/paint-accessories.html;
/Catalogue/Navigate/category-paints-thinners?catalogueLevelItemID=87529237-3f1f-4e4e-aedd-ac48c4deb5cd /parts-by-category/paint-accessories.html;
... other links ...
启动nginx服务器时,出现以下错误:
nginx[32448]:nginx:[emerg]冲突参数
中的“/目录/导航/分类油漆稀释剂”
/etc/nginx/conf.d/redirects.map:4993
知道是什么导致了这个错误吗?是查询字符串吗?如果是,您如何处理它?您确定
/catalog/navigate/catalog paints thinkers
(忽略大小写)不会出现在文件的前面吗?
... other links ...
/Catalogue/Navigate/category-paints-thinners /parts-by-category/paint-accessories.html;
/Catalogue/Navigate/category-paints-thinners?catalogueLevelItemID=87529237-3f1f-4e4e-aedd-ac48c4deb5cd /parts-by-category/paint-accessories.html;
... other links ...