小编Sco*_*ttK的帖子

为什么google不接受我的Sitemap.xml?"网址不允许此网址在此位置不允许使用此网址."

我有一个谷歌自定义搜索指向http://xxx/edu_dir_new/*.我正在尝试上传Sitemap.xml(目前只有一页)

网站地图:

<?xml version="1.0" encoding="UTF-8"?>

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
    <url>
        <loc>http://xxx/edu_dir_new/DOEEmployee/i3/JanetRay/Directory.aspx</loc>
    </url>
 </urlset>
Run Code Online (Sandbox Code Playgroud)

路径(edu_dir_new/DOEEmployee/i3/JanetRay/Directory.aspx)不是一组实际的目录,而是提供一个页面(通过实现备用的IHttpModule).

这个网站不太可能链接到网络上的任何其他地方(因为它正在测试中),但从我所知道的情况来看,如果我指定一个站点地图,这无关紧要.

asp.net sitemap.xml

1
推荐指数
1
解决办法
6971
查看次数

标签 统计

asp.net ×1

sitemap.xml ×1