How to write sitemap.XML to add second domain?

Derppppp

Newbie
Joined
Jan 19, 2017
Messages
4
Reaction score
0
I have two domains and I need help with adding the 2nd website to the sitemap.XML file. Here is what it says
I
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="bhttp://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>website address removed</loc>
<priority>1</priority>
</url>
</urlset>

What should it say of I'm adding the 2nd website????? I searched google but couldn't find the answer and the cpanel forum was no help because its dead over there.
 
Its like one sentence of code I'm missing...
 
Ok, does anybody know of a different forum where I should ask this question and get the answer????
 
A small tip, Google does not like/approve of this behavior and you will probably end up getting punished for it, just don´t do it.
 
Yeah you're definitely mistaken. You don't know what you're talking about at all.
 
Yeah you're definitely mistaken. You don't know what you're talking about at all.

So just do it and don´t wine about it, surely you can write a xml file when you know what is right and have the knowledge?
 
I think only one website on 1 sitemap, I'm not sure what does GG think if you put 2 websites in the same sitemap.
 
You can't be able to use more than one domain in sitemap.xml.

sitemap allows to add URL from its own domain only, not even does it allow to include URL from its sub domain.

Example, If your sitemap is located at http://www.example.com, It can't include URL from its http://sub.example.com
 
Back
Top