Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

Sitemap.xml configuration for products

The following configuration enables you to generate a Sitemap.xml for your products:

plugin.tx_seo {
    config {
        xmlSitemap {
            sitemaps {
                shop {
                    provider = CodingMs\Shop\XmlSitemap\RecordsXmlSitemapDataProvider
                    config {
                        table = tx_shop_domain_model_product
                        sortField = sorting
                        lastModifiedField = tstamp
                        recursive = 1
                        pid = 2
                        url {
                            pageId = 6
                            fieldToParameterMap {
                                uid = tx_shop_products[product]
                            }
                            additionalGetParameters {
                                tx_shop_products.controller = Product
                                tx_shop_products.action = show
                            }
                            useCacheHash = 1
                        }
                    }
                }
            }
        }
    }
}

It's often the case that your products are displayed in different places on a website. In order to avoid duplicate content on your website or in your sitemap.xml, you have the option to enter a canonical URL in each product. This URL will be used in the canonical tag of your HTML header and the sitemap.xml. This field currently only supports links in typolink format - for example t3: // page? Uid = 54.

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
3N9_________XLC______
S_W____6____T_____EXY
Q_G___ETF___XX1______
W_H____P____9_O___126
BU1_________5F5______