Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess 使用Cloudflare flexible ssl时Robots.txt重定向循环_.htaccess_Magento_Redirect_Ssl_Cloudflare - Fatal编程技术网

.htaccess 使用Cloudflare flexible ssl时Robots.txt重定向循环

.htaccess 使用Cloudflare flexible ssl时Robots.txt重定向循环,.htaccess,magento,redirect,ssl,cloudflare,.htaccess,Magento,Redirect,Ssl,Cloudflare,我的magento站点正在使用cloudflare flexible ssl 之后 SetEnvIf X-Forwarded-Proto https HTTPS=on 站点停止重定向循环 之后 链接重定向正确 但现在robots.txt仍在重定向循环中,其他一切都正常工作。请帮忙,真不敢相信这么简单 只需创建一个页面规则,并在robots.txt上禁用任何加速 就是这样 感谢阅读我的帖子并试图想出解决方案的人。真不敢相信事情会这么简单 只需创建一个页面规则,并在robots.txt上禁用任何加

我的magento站点正在使用cloudflare flexible ssl

之后

SetEnvIf X-Forwarded-Proto https HTTPS=on
站点停止重定向循环

之后

链接重定向正确


但现在robots.txt仍在重定向循环中,其他一切都正常工作。请帮忙,真不敢相信这么简单

只需创建一个页面规则,并在robots.txt上禁用任何加速

就是这样


感谢阅读我的帖子并试图想出解决方案的人。

真不敢相信事情会这么简单

只需创建一个页面规则,并在robots.txt上禁用任何加速

就是这样


感谢阅读我的帖子并试图想出解决方案的人。

对我来说,停用并重新启用WP Fastest Cache解决了问题。

对我来说,停用并重新启用WP Fastest Cache解决了问题。

任何其他文本文件都可以,只有robots.txt任何其他文本文件都可以,只有robots.txt我真正做的是关闭“Apps”并将自定义缓存设置为“Basic caching”。然后清除缓存。我实际上做的是关闭“应用程序”并将自定义缓存设置为“基本缓存”。然后清除缓存。
RewriteCond %{HTTP:CF-Visitor} '"scheme":"http"'

RewriteRule ^(.*)$ https://pimaapparel.com/$1 [L]