Sitemap URLs when using Nginx on NodeBB



  • I have a new forum (also looking for mods :wink: ) which is the Pokemon Go Forum @ http://www.clubcatchthemall.com.

    The sitemap is available @ http://clubcatchthemall.com/sitemap.xml

    As you can see It displays the following data....

    <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        <sitemap>
            <loc>
                http://www.clubcatchthemall.com:4567/sitemap/pages.xml
            </loc>
        </sitemap>
        <sitemap>
            <loc>
                http://www.clubcatchthemall.com:4567/sitemap/categories.xml
            </loc>
        </sitemap>
        <sitemap>
            <loc>
                http://www.clubcatchthemall.com:4567/sitemap/topics.1.xml
            </loc>
        </sitemap>
    </sitemapindex>
    

    The site is hosted on port 4567, but nginx proxys to localhost:4567 and is open on port 80.
    All the other URLs work just fine.

    How can i get these to display correctly? I tried amending the config json file but it seemed to take the site down.


  • Plugin & Theme Dev

    @CatchThemAll change the url property in config.json to http://www.clubcatchthemall.com and restart NodeBB.


  • Admin

    Best of luck with the forum, @CatchThemAll! It's not released in Canada yet :frowning:


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.