TYPO3和sitemap_generator

时间:2017-05-04 08:05:12

标签: typo3 sitemap

我使用TYPO3 7.6.10和sitemap_generator 1.0

我看到了sitemap.xml,它生成了地图,但没有类别和标签,例如" categoy / nameofcategory"。 我该如何解决?

模板中的代码是:

plugin.tx_sitemapgenerator {
    urlEntries {
        pages = 1
        pages {
            rootPageId = 1
            allowedDoktypes = 1
            additionalWhere = doktype!=6
        }
    }
}

plugin.tx_sitemapgenerator {
    urlEntries {
        news = 1
        news {
            active = 1
            table = tx_news_domain_model_news
            additionalWhere = pid!=0
            orderBy = title DESC
            limit = 0,1000
            lastmod = tstamp
            url = TEXT
            url {
                typolink.parameter = 161
                typolink.additionalParams = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]={field:uid}
                typolink.additionalParams.insertData = 1
                typolink.useCacheHash = 1
                typolink.returnLast = url
                typolink.forceAbsoluteUrl = 1
            }
        }
    }
}

1 个答案:

答案 0 :(得分:0)

Google的站点地图不包含标签和说明等内容,因此扩展程序无需提供这些内容。在此处查看创建站点地图的规范。 Google build a sitemap