Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.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
Drupal站点-将https的htaccess中的规范rel添加到http_Http_Drupal_Https_Canonical Link_Indexed - Fatal编程技术网

Drupal站点-将https的htaccess中的规范rel添加到http

Drupal站点-将https的htaccess中的规范rel添加到http,http,drupal,https,canonical-link,indexed,Http,Drupal,Https,Canonical Link,Indexed,最近,我注册了Cloudflare。我的网站是获取新的https选项。几天后,谷歌用https和http为我的页面编制了索引,现在我有了重复的内容。我的网站不需要https,所以我在Cloudflare上关闭了此选项,但我仍然有使用https的索引页面。如何摆脱它?我不确定解决方案,但我认为如果您在/sites/default/settings.php中更改$base\u url变量 它将始终打开您想要的https或http,并将您的URL定义为。根据谷歌索引,当你的网站经常被新的URL访问时,

最近,我注册了Cloudflare。我的网站是获取新的https选项。几天后,谷歌用https和http为我的页面编制了索引,现在我有了重复的内容。我的网站不需要https,所以我在Cloudflare上关闭了此选项,但我仍然有使用https的索引页面。如何摆脱它?

我不确定解决方案,但我认为如果您在/sites/default/settings.php中更改$base\u url变量

它将始终打开您想要的https或http,并将您的URL定义为。根据谷歌索引,当你的网站经常被新的URL访问时,它会被更新