2
最近,我在我的网站的根目录中上传了一个robots.txt文件。 我在robots.txt文件中写的东西是 -工具正在robots.txt中查找未知代码
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /download/
Disallow: /wp-content/plugins/
Disallow: /wp-content/themes/
Disallow: /feed/
Disallow: */feed/
Sitemap: http://stockfirmware.me/sitemap.xml
但所有的robots.txt分析仪包括谷歌WMTools和Yandex的都出现了有错误的代码。
所有工具显示的东西are--
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /download/
Disallow: /wp-content/plugins/
Disallow: /wp-content/themes/
Disallow: /feed/
Disallow: */feed/
Sitemap: http://stockfirmware.me/sitemap.xml
//*
<!-- Hosting24 Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<!-- End Of Analytics Code -->
我不从,最后3-4行来到那里知道,我不知道自己的位置了。 我需要关于此的帮助。请帮帮我。谢谢
你打开robots.txt时是否也看到了这个?假设它是[这一个](http://stockfirmware.me/robots.txt),我没有看到它。 - 您是否使用hosting24.com作为网站托管商? – unor
我无法在http://stockfirmware.me/robots.txt上看到,但是当我用各种robots.txt检查工具检查它时,该代码出现在那里。 –
那是它的虚拟主机公司的错。我找到了这个解决方案。谢谢 –