DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Why are http-sitemap and https-sitemap different?

Sort:
You are not authorized to post a reply.





New Around Here





    I have a strange issue in one of the DNN-sites we are hosting.

    • In Settings > SEO > Sitemap, the URL for the sitemap is a https-variant.
    • But when i open this link (https://domain.nl/SiteMap.aspx) i only see an Empty tag
    • When i change the request to http (http://domain.nl/SiteMap.aspx) I see the correct sitemap-xml: an url-set tag with a whole bunch of ur-tags included. 

    Why are these versions different? How can i make sure that the content of the HTTP-version also displays in the HTTPS-version? And slightly less relevant: where is the http-version maintained? 

    Sincerely

    Sytske van Hasselt
    Amsterdam

     






    Veteran Member





      I just tested some of my sites and the https version is not empty.
      Please note that for the items to show up in the sitemap, the page's individual sitemap priority should not be 0.
      (which is the default value unfortunately in DNN 9.3.2, bug IMO)
      Also the sitemap is cached for 1 day by default so any corrections willl only appear after a day.






      New Around Here





        Hmm... I have checked a couple of pages in the site, and they all seem to have an individual sitemap priority set to 0.5 (the default according to the the info).

        And you don't see a difference between the http and https version? 

        I've also checked another of our sites, and there the problem does not occur- But: i can't seem to access the http version: it automatically changes to the https-version. I saw one difference between sitemap-settings, namely the setting 'Minimum Priority for Pages': this was not set in the site with the issue, but is set in the other site. I have fixed this, cleared the sitemap cache, but that doesn't seem to have effect?

        What value do you have in '' and 'Minimum Priority for Pages'?
         

        sincerely, Sytske






        Veteran Member





          I have an https redirect on all my sites so I cannot compare them.
          My minimum priority = 0.1
           






          New Around Here





            Well, Timo, thanks for your answers!
            I changed the setting also 0.1 (for both minimum priority and exclude lower than settings). Clear cache: and voila! it works.

            I still find it sort of strange, because the other site we have, also had these previous settings, but díd have an https sitemap.

            but oh well: it works now, so i'm happy!

            Sytske





            New Around Here





              Posted By Timo Breumelhof on 23 Sep 2019 01:54 PM

              I just tested some of my sites and the https version is not empty.
              Please note that for the items to show up in the sitemap, the page's individual sitemap priority should not be 0.
              (which is the default value unfortunately in DNN 9.3.2, bug IMO)
              Also the sitemap is cached for 1 day by default so any corrections willl only appear after a day.

              And further: i see now that the 'http'-version appears to be a very old, cached version. the new HTTPS version, is much shorter. And checking some of the pages that don't appear in the new SiteMap.aspx: there the priority is not set.

              so I agree with you opinion that this appears to be a bug. 

               

               

              You are not authorized to post a reply.

              These Forums are dedicated to the discussion of DNN Platform.

              For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

              1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
              2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
              3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
              4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
              5. No Flaming or Trolling.
              6. No Profanity, Racism, or Prejudice.
              7. Site Moderators have the final word on approving / removing a thread or post or comment.
              8. English language posting only, please.

              Would you like to help us?

              Awesome! Simply post in the forums using the link below and we'll get you started.

              Get Involved