本文介绍了生成站点地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,大家好,

对不起,如果这不是这篇文章的正确位置。

我正在构建一个脚本来为我生成站点地图。在大多数情况下它运行正常,但是会出现一些错误。

Google并不喜欢我的几个网址。例如,我有一个以trews.html结尾的网址。看起来这条线在网站地图中很好,但是当我在浏览器中输入网址时,我得到一个404错误,就像页面不存在一样。如果我删除网址并手动输入它然后工作正常..当我看到我最近访问过的网站时,它会列出t%08rews.html。作为其中之一。似乎perl正在诠释某些不存在的角色?我不确定。怎么能纠正这个?

Hey there everyone,
Sorry if this isnt the right place for this post.
I am building a script to generate a site map for me. For the most part it works fine, but a few errors are popping up.
Google isn''t liking several of my urls. For instance, i have a url that ends in "trews.html". It looks like this line is fine in the site map, but when i type the url into the browser i get a 404 error as if the page doesn''t exists. If i erase the url and type it out manually it works fine however.. and when i see the websites i recently visited, it lists "t%08rews.html" as one of them. It seems that perl is interpretting some kind of character that isnt there? I''m not sure. How could this be corrected?

推荐答案




这篇关于生成站点地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 08:01