We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31902
    • 342 Posts
    Just tried using GoogleSiteMap and at first it seemed to work okay (after I looked at the source code of the generating page and copy/pasting the code from in there). Then, testing to see if all the pages were listed, I found several that weren't. On closer examination, I noticed they were all the pages that I had the 'Hide From Menus' check box checked.

    Although I don't want these pages on my menu, it doesn't mean I don't want them hidden from Google.

    My call is simply:

    [[!GoogleSiteMap]]


    Anything I'm supposed to add to this call to get all my pages to show up in the file?

    Thank you in advance.

    Revo 2.1.3
    PHP Version 5.2.10
      • 3548
      • 102 Posts
      [[!GoogleSiteMap? &showHidden=`1`]]
      


      Check for core/components/googlesitemap/model/googlesitemap/googlesitemap.class.php

      Anything defined in public config array can be overriden as above.
        Antonio Zdilar
        linearvector.com
        • 31902
        • 342 Posts
        Excellent, blankcheck! Works great.

        I just noticed the system also lists my weblinks. I assume that's not something Google is interested in. Any way to filter them out? In the case of my current project, I just have a few and it's no big deal to go in and filter them out by hand but I can foresee some future project where it might become cumbersome.

        Thanks for your help.