我们正在通过Google搜索控制台获得Server error (5xx)
。你知道为什么会这样吗?并有解决此问题的解决方案吗?
当我检查error_log时,我们发现了以下内容:
[21-Aug-2019 06:11:11 UTC] PHP Fatal error: Call to undefined function twentysixteen_excerpt() in /home/teedupgolf/public_html/wp-content/themes/teedup/image.php on line 49
[21-Aug-2019 06:11:39 UTC] PHP Fatal error: Call to undefined function twentysixteen_excerpt() in /home/teedupgolf/public_html/wp-content/themes/teedup/image.php on line 49
[21-Aug-2019 06:12:03 UTC] PHP Fatal error: Call to undefined function twentysixteen_excerpt() in /home/teedupgolf/public_html/wp-content/themes/teedup/image.php on line 49
大多数页面看起来都是自动生成的,下面是示例页面:
https://teedupgolftours.com/2015/01/
https://teedupgolftours.com/category/uncategorized/
https://teedupgolftours.com/2015/07/
我们目前所做的,我们只是禁止在robots.txt
上使用这些链接
答案 0 :(得分:0)
我有同样的错误。
如果网站使用多种语言,请像以下示例一样使用hreflang
:
<link rel = "alternate" href = "https://smsreceive.site/Home/en" hreflang = "x-default" />