Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Problem with Sitemap Module

whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
This discussion was created from comments split from: Vanilla on Nginx.

Comments

  • Hi,

    Everybody please help me with sitemap config on my forum.
    I using vanilla form as sub-folder in mysite.com/forum, I referenced from some example and forum page working fine, But I have got problem for xml file, using Sitemap Module and the path is:

    mysite.com/forum/sitemapindex.xml

    when I config with the code below, sitemapindex.xml work fine.

    location = /sitemapindex.xml
        {
            allow all;
            log_not_found off;
                    access_log off;
            rewrite ^/forum(.+)$ /forum/index.php?p=$1 last;
        }
    

    But we having other xml file on /sitemapindex.xml such as /category_1.xml, /category_2.xml, etc.
    How I can make it working? please show me with some configs.

    Thanks
    John

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    Please don't post on old threads, and especially not when they don't have anything to do with your issue!

  • x00x00 MVP
    edited September 2013

    this best askin new discussion @johntang

    if category_1.xml, etc are physical location they should be caught by try, There is no need to put it through vanillia's dispatcher if they are cached files.

    If you need to use pattern matching you can do it, however I'm not getting what it is you wish to match. Are you using a plugin for your site map?

    grep is your friend.

  • have you tried this plugin?

    http://vanillaforums.org/addon/sitemaps-plugin

    it handle sitemaps an routes internally.

    grep is your friend.

  • johntangjohntang New
    edited September 2013

    Yes, I'm using this module.

    on sitemapindex.xml, I saw:

    sitemapindex
    sitemap
    loc
    http://..../xml_1.xml
    /loc
    /sitemap
    sitemap
    loc
    http://..../xml_2.xml
    /loc
    /sitemap
    /sitemapindex
    

    But click to these xml file, Page not found is showing up.

  • hgtonighthgtonight ∞ · New Moderator

    Sitemaps for your forum is not needed. Forums provide an easily traversable link hierarchy.

    There is more information here: http://vanillaforums.com/blog/help/6-seo-tips-to-improve-your-forum-seo/

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Thanks @hgtonight,

    I understood and got it :)

Sign In or Register to comment.