【发布时间】:2019-09-02 13:17:33
【问题描述】:
我遇到了一些未在 Google 搜索中显示的网站的问题。
我将它连接到 Google Search Concole,当我尝试“测试实时网址”时,我在“查看测试页面”中看到了来自 Google.com 主页的屏幕截图。 关于索引的信息:
Indexing allowed? - Yes
User-declared canonical - None
Google-selected canonical - https://www.google.com/
但是我使用标签设置了规范的 url 地址:
<link rel="canonical" href="..." />
另外,我排除了 96 个错误和 1.64K 页面。
在 URL 检查中有信息: “重复,提交的 URL 未被选为规范”
域名有一段时间的 DNS 记录错误:
"v=spf1 a mx include:_spf.google.com include:_spf. acesender.com ~all"
当我检查此页面以在此处查找微数据时:
https://search.google.com/structured-data/testing-tool
Google 将我的网址更改为
http://www.google.com/#spf=1567541864681
并向我展示了 www.google.com 的 HTML 代码
谁能告诉我这个网站的云有什么问题,我应该怎么做才能改变它?
当主页由静态文件 index.html 提供时,它已被正确索引,但其他页面没有。有旧版本的 PHP Fusion。现在我需要在 PHP Fusion 6 / 代码中找到这样做的内容。
/index.html
Request URL: https://domain.pl/
Request Method: GET
Status Code: 304
Remote Address: 85.128.203.33:443
Referrer Policy: no-referrer-when-downgrade
date: Fri, 06 Sep 2019 12:18:23 GMT
etag: "10575-591e1629bf811"
last-modified: Fri, 06 Sep 2019 12:14:51 GMT
server: Apache/2
status: 304
vary: Accept-Encoding
:authority: domain.pl
:method: GET
:path: /
:scheme: https
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
accept-encoding: gzip, deflate, br
accept-language: pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7,pt;q=0.6
cache-control: max-age=0
cookie: fusion_visited=yes; _ga=GA1.2.1597082664.1565961521; _gid=GA1.2.1371478008.1567772276; _gat_gtag_UA_143710154_1=1
if-modified-since: Fri, 06 Sep 2019 12:14:51 GMT
if-none-match: "10575-591e1629bf811"
sec-fetch-mode: navigate
sec-fetch-site: none
sec-fetch-user: ?1
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
index.php
Request URL: https://domain.pl/
Request Method: GET
Status Code: 200
Remote Address: 85.128.203.33:443
Referrer Policy: no-referrer-when-downgrade
content-encoding: br
content-length: 11091
content-type: text/html
date: Fri, 06 Sep 2019 12:22:12 GMT
link: <https://domain.pl/>; rel=canonical"
server: Apache/2
status: 200
vary: Accept-Encoding
:authority: domain.pl
:method: GET
:path: /
:scheme: https
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
accept-encoding: gzip, deflate, br
accept-language: pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7,pt;q=0.6
cache-control: max-age=0
cookie: fusion_visited=yes; _ga=GA1.2.1597082664.1565961521; _gid=GA1.2.1371478008.1567772276; _gat_gtag_UA_143710154_1=1
sec-fetch-mode: navigate
sec-fetch-site: none
sec-fetch-user: ?1
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
【问题讨论】:
标签: php indexing google-search-console