Google Sitemap错误,我无法解释代码(Google Sitemap errors, which i cannot explain looking at code)

编程入门 行业动态 更新时间:2024-10-28 03:30:09
Google Sitemap错误,我无法解释代码(Google Sitemap errors, which i cannot explain looking at code)

我有这个错误:

错误:此XML标记的值无效。 请修复它并重新提交。

我在cs-cart软件上有一个脚本,为Google /搜索引擎生成网站XML站点地图但是我在Google网站管理员工具中收到了上述错误。

站点地图的脚本URL: http ://www.ambientlounge.com.au/index.php?dispatch = xmlsitemap.view

基于SEO的站点地图URL: http : //www.ambientlounge.com.au/sitemap.xml

Google网站管理员工具的错误提交和测试;

2393行:

0.5

2393行:

二零一五年十月三十〇日

http://www.ambientlounge.com.au/bean-bag-blog/natalia-cajide-of-paws-and-co.-whispers-about-the-alpet-lounge.html

我将XML内容复制并粘贴到我的编辑器并转到行,所以假设这些是行,但无论如何,该文件是从PHP循环生成的,所以如果我们之前的XML错误会错误,我也没有看到任何错误那些加上和其他人一样。

有人有主意吗?

I have this error:

Error: This XML tag has an invalid value. Please fix it and resubmit.

I have a script on the cs-cart software that generates the sites XML sitemap for Google / search engines however I get that error above in Google webmaster tools.

Script URL for sitemap: http://www.ambientlounge.com.au/index.php?dispatch=xmlsitemap.view

SEO Based URL for sitemap: http://www.ambientlounge.com.au/sitemap.xml

Errors from Google webmaster tools submit and testing;

Line 2393:

0.5

Line 2393:

2015-10-30

http://www.ambientlounge.com.au/bean-bag-blog/natalia-cajide-of-paws-and-co.-whispers-about-the-a.l.pet-lounge.html

I copied and pasted the XML contents to my editor and went to line so assuming those are the lines but regardless of that, the file is generated from the PHP loop so surely if we a XML error would error before and also I see nothing wrong with those plus the are the same really as the rest.

Anyone have any ideas?

最满意答案

该优先级元素的值无效。

<priority/>

它必须是介于0.0和1.0之间的值。 默认值为0.5 。 对于没有优先级的URL,您有两种可能的解决方案。 不要添加优先级元素或使用默认值添加它。

<priority>0.5</priority>

The value of that priority element is invalid.

<priority/>

It has to be a value between 0.0 and 1.0. The default value is 0.5. You have two possible solutions for urls without a priority. Do not add a priority element or add it with the default value.

<priority>0.5</priority>

更多推荐

本文发布于:2023-07-18 11:37:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1159793.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   代码   Sitemap   Google   explain

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!