Sitemap.xml

crobi

New Arrival
Joined
Dec 15, 2019
Messages
22
Reaction score
6
FP$
321
I am working on onpage SEO for my new site and I am trying add sitemap.xml into root. I test few sitemap generators and none didn't work. Whenever I test my SEO score, one of errors is not existing or bad form of sitemap.xml.

What free generator you use or you make it manual?

If it can help, I would provide my site in inbox. I don't advertise it yet.
 
What kind of website do you have ? A forum ?

Most results on the first page of Google will at least give you 500 pages of sitemap. Since you said that your website is new, that should work for you. WordPress and most forums support an XML sitemap in the core or as a plugin.
 
What kind of website do you have ? A forum ?

Not it is site with sport games streams. As structure you have index.php, football.php, box.php and other sports. Here is example of sitemap which is not recognized.
Code:
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>mydomainurl</loc>
<lastmod>2020-07-13</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
</urlset>
It is generated with Screaming Frog SEO Spider tool. This and other tool crawl only index.php.
 
What is the site built on ? Is it custom code and no CMS ?

Try any 3 top results on Google search for XML sitemap generator. That should normally help.
 
Custome code. Clear PHP, HTML, CSS, Javascript.

Here is new file.

<?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">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->


<url>
<loc>mydomainurl</loc>
<lastmod>2020-07-14T18:02:34+00:00</lastmod>
</url>


</urlset>

As you can see it is made by www.xml-sitemaps.com

But when I test it with seositecheckup.com I got message

1594750081648.webp
 
But how other engines will see it or SEO score tools if it is not on site root? I read for that what you suggest but many suggest adding it into root first because of other engines.
Also when I use sitemap validator it say file is not good.
 
You can always add it root even when you add it through search console.

domain.com/sitemap.xml

is enough in most cases. I don't know whether Bing or DuckDuckGo cares about sitemap. It is possible that they depend on their crawling method more than a sitemap. I can't say for sure though.

Also when I use sitemap validator it say file is not good.

As long as Google accepts it through search console, I will say it is fine.
 
You can always try another provider if you are not happy. And check whether it is ok with your choice of validation tool. There is at least 5 pages of free sitemap generator tools if you try Google.
 
I check it few from first page and everytime neither was recognized but seo tools. I will report result after try check it you suggestion with Google search console trick.
 
In the source link, there are directions about how you can build an XML sitemap yourselves.

with Google search console trick.

It is not a trick. That is the official method to add a sitemap to Google since a while.
 
I made new sitemap and add it into search console but message say "could not fetch". I will have ask somebody to check it or make it for me.
Thanks for help.
 
Back
Top Bottom