我正在爲我的網站創建多個站點地圖文件。問題是我的站點地圖文件位於與我的網站不同的文件服務器上。 例如,我有一個域名網站,www.example.com
,但是我的站點地圖索引文件和其他站點地圖文件駐留在www.filestack.com
上。不同領域的站點地圖文件
我的站點地圖索引文件看起來像:
<sitemapindex xmlns="http://www.google.com/schemas/sitemap/0.84">
<sitemap>
<loc>
https://www.filestack.com/sitemap1.xml
</loc>
</sitemap>
雖然我sitemap1.xml
將是:
<url>
<loc>
https://www.example.com/test
</loc>
<lastmod>2017-09-04</lastmod>
<changefreq>weekly</changefreq>
</url>
是否有可能將鏈接添加到做這樣的事情,怎麼樣?