Xml sitemaps missing contact us page

im trying to generate xmlsite map but my contact page is not generated. All others page are generated except contact us page

Tried few xml generator by contact page is missing…

Check if there is nofollow robots tag is there.
Otherwise you can update xml sitemap manually by adding contact us page.

following code is generated:

<?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>https://mysitexmaple.com/</loc>
  <lastmod>2022-08-19T06:03:43+00:00</lastmod>
  <priority>1.00</priority>
</url>
<url>
  <loc>https://mysitexmaple.com/about.php</loc>
  <lastmod>2022-08-19T06:03:43+00:00</lastmod>
  <priority>0.80</priority>
</url>
<url>
  <loc>https://mysitexmaple.com/services.php</loc>
  <lastmod>2022-08-19T06:03:43+00:00</lastmod>
  <priority>0.80</priority>
</url>
<url>
  <loc>https://mysitexmaple.com/gallery.php</loc>
  <lastmod>2022-08-19T06:03:43+00:00</lastmod>
  <priority>0.80</priority>
</url>
</urlset>

You can edit this yourself. Copy and paste the text into a line above the </urlset> line:

<url>
  <loc>https://mysitexmaple.com/gallery.php</loc>
  <lastmod>2022-08-19T06:03:43+00:00</lastmod>
  <priority>0.80</priority>
</url>

Now edit it to match the URL for your contact us page. Save and you are done:

<url>
  <loc>https://mysitexmaple.com/contact.php</loc>
  <lastmod>2022-08-19T06:03:43+00:00</lastmod>
  <priority>0.80</priority>
</url>
1 Like