Announcement

Collapse
No announcement yet.

Sitemap Help

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sitemap Help

    Hi All,

    Hoping you can provide some insight into the problems with the sitemap below?
    Attached Files

  • #2

    There is no xml markup in the list
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url> <loc>http://www.protonsupplies.com/ </loc><priority>1</priority>
    </url>
    </urlset>

    Comment


    • #3
      Originally posted by Seorch View Post
      There is no xml markup in the list
      <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
      <url> <loc>http://www.protonsupplies.com/ </loc><priority>1</priority>
      </url>
      </urlset>
      This is what my site map shows through sellerdeck and also the error that google search console is showing on it.
      Attached Files

      Comment


      • #4
        Your layout XML Site Map Layout seems to be faulty. You have </urlset> near the first line and it should be at the very end of the document.

        Go to Design / Library / Layouts / XML Feeds. Right-click XML Site Map Layout and choose Compare With Previous Version to see if it has been changed. You can use right-click / Revert to Factory Settings to fix it or use the code below.
        Code:
        <?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">
        <actinic:block type="BrochurePagesList" >
        <url><loc><actinic:variable name="AbsoluteBrochurePageURL" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>1.00</priority></url>
        </actinic:block>
        <actinic:block type="EntireSectionList">
        <url><loc><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="SectionHref" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>1.00</priority></url>
        <actinic:block type="SectionEntireProductList" >
        <url><loc><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable encoding="html" name="ProductPageName" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>1.00</priority></url>
        </actinic:block>
        </actinic:block>
        <url><loc><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="InfoURL" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.70</priority></url>
        <actinic:block if="%21%3cactinic%3avariable%20name%3d%22IsUseRelativeCgiUrls%22%20%2f%3e" ><url><loc><actinic:variable name="LoginPageURL" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.50</priority></url></actinic:block>
        <actinic:block if="%21%3cactinic%3avariable%20name%3d%22IsUseRelativeCgiUrls%22%20%2f%3e%20AND%20%0d%3cactinic%3avariable%20name%3d%22IsOrderTrackingEnabledForUnreg%22%20%2f%3e%20%20%3d%3d%20%20true" ><url><loc><actinic:variable name="RecentOrdersLinkText" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20TRUE">&SHOP=<actinic:variable name="ShopID" /></actinic:block></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.60</priority></url></actinic:block >
        <actinic:block if="%21%3cactinic%3avariable%20name%3d%22IsUseRelativeCgiUrls%22%20%2f%3e" ><url><loc><actinic:variable name="SendMailPageLink" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.60</priority></url></actinic:block>
        <url><loc><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="SearchPageURL" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.50</priority></url>
        </urlset>
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


        • #5
          Originally posted by NormanRouxel View Post
          Your layout XML Site Map Layout seems to be faulty. You have </urlset> near the first line and it should be at the very end of the document.

          Go to Design / Library / Layouts / XML Feeds. Right-click XML Site Map Layout and choose Compare With Previous Version to see if it has been changed. You can use right-click / Revert to Factory Settings to fix it or use the code below.
          Code:
          <?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">
          <actinic:block type="BrochurePagesList" >
          <url><loc><actinic:variable name="AbsoluteBrochurePageURL" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>1.00</priority></url>
          </actinic:block>
          <actinic:block type="EntireSectionList">
          <url><loc><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="SectionHref" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>1.00</priority></url>
          <actinic:block type="SectionEntireProductList" >
          <url><loc><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable encoding="html" name="ProductPageName" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>1.00</priority></url>
          </actinic:block>
          </actinic:block>
          <url><loc><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="InfoURL" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.70</priority></url>
          <actinic:block if="%21%3cactinic%3avariable%20name%3d%22IsUseRelativeCgiUrls%22%20%2f%3e" ><url><loc><actinic:variable name="LoginPageURL" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.50</priority></url></actinic:block>
          <actinic:block if="%21%3cactinic%3avariable%20name%3d%22IsUseRelativeCgiUrls%22%20%2f%3e%20AND%20%0d%3cactinic%3avariable%20name%3d%22IsOrderTrackingEnabledForUnreg%22%20%2f%3e%20%20%3d%3d%20%20true" ><url><loc><actinic:variable name="RecentOrdersLinkText" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20TRUE">&SHOP=<actinic:variable name="ShopID" /></actinic:block></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.60</priority></url></actinic:block >
          <actinic:block if="%21%3cactinic%3avariable%20name%3d%22IsUseRelativeCgiUrls%22%20%2f%3e" ><url><loc><actinic:variable name="SendMailPageLink" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.60</priority></url></actinic:block>
          <url><loc><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="SearchPageURL" /></loc><lastmod><actinic:block php="true" >echo date("Y-m-d"),"T", date("H:i:s"),"+00:00";</actinic:block></lastmod><priority>0.50</priority></url>
          </urlset>
          I've fixed it and managed to successfully submit it to google search console! But when you actually click on https://www.protonsupplies.com/sitemap.xml it comes with another error.

          Comment


          • #6
            If you mean:
            This XML file does not appear to have any style information associated with it. The document tree is shown below.
            Then that's what you get if you view the file in a web-browser. All SD XML sitemap files do this. This file isn't intended for humans to read via a browser so don't worry about it.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


            • #7
              Originally posted by NormanRouxel View Post
              If you mean:

              Then that's what you get if you view the file in a web-browser. All SD XML sitemap files do this. This file isn't intended for humans to read via a browser so don't worry about it.
              Thanks for your help Norman

              Comment

              Working...
              X