好的,我在这里和谷歌上研究了这个问题。正在尝试获取https URL以重定向到非HTTPS URL。
我尝试了所有类型的组合,但对这个URL没有任何效果:
https://www.urotoday.com/403-perspectives-from-the-editor-in-chief-june-2014
我所要做的就是重定向到http://www.urotoday.com/403-perspectives-from-the-editor-in-chief-june-2014
这对我来说没有用:
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} ^/403\-perspectives\-from\-the\-editor\-in\-chief\-june\-2014$
RewriteRule .* "http\:\/\/www\.urotoday\.com\/403\-perspectives\-from\-the\-editor\-in\-chief\-june\-2014" [R=301,L]发布于 2014-06-24 12:41:28
将此规则放入您的DOCUMENT_ROOT htaccess中:
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule ^(403-perspectives-from-the-editor-in-chief-june-2014)/?$ http://%{HTTP_HOST}/$1 [R=301,L,NC]如果有效,请让我知道。:)
https://stackoverflow.com/questions/24378221
复制相似问题