skip to Main Content

I’m using a Typo3 website version 10 and the sitemap is not working properly,
i can see the configuration in the typoscript object browser but in the front-end www.mydomain.ch/?type=1533906435 the xml file is blanc.
Frontend screenshot:
enter image description here

Typoscript object browser screenshot:
enter image description here

seo extension is installed.
the website is multilangage.

what can be missing so that i see the sitemap ?

2

Answers


  1. Chosen as BEST ANSWER

    i have solved the problem, i think it was the sourceopt extension installed have a bug, i have update it to the latest version, now i can see the xml sitemap working fine, thanks!


  2. If this is all you have, then you are missing some key configuration. You need to specify what should be shown. So, on your TypoScript, based on the documentation, you should define what pages/extension etc must be shown. For example:

    plugin.tx_seo {
      config {
        xmlSitemap {
          sitemaps {
            pages {
              config {
                excludedDoktypes = 137, 138
                additionalWhere = AND (no_index = 0 OR no_follow = 0)
                #rootPage = <optionally specify a different root page. (default: rootPageId from site configuration)>
              }
            }
          }
        }
      }
    }
    

    Here is an example for the extension news as well, in case you are using it.

    plugin.tx_seo.config {
        xmlSitemap {
            sitemaps {
                news {
                    provider = TYPO3CMSSeoXmlSitemapRecordsXmlSitemapDataProvider
                    config {
                        table = tx_news_domain_model_news
                        additionalWhere =
                        sortField = sorting
                        lastModifiedField = tstamp
                        changeFreqField = sitemap_changefreq
                        priorityField = sitemap_priority
                        pid = 26
                        recursive = 2
                        url {
                            pageId = 25
                            fieldToParameterMap {
                                uid = tx_news_pi1[news]
                            }
    
                            additionalGetParameters {
                                tx_news_pi1.controller = News
                                tx_news_pi1.action = detail
                            }
                        }
                    }
                }
            }
        }
    }
    

    Here the documentation as well: Documentation

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search