I want to have only lowercase SEO URLs in my Shopware 6 shop. How can I achieve this in the Administration area of Shopware 6?
I want to have only lowercase SEO URLs in my Shopware 6 shop. How can I achieve this in the Administration area of Shopware 6?
2
Answers
Add the lower filter from Twig to your variables in the Settings > SEO menu.
For example:
becomes
Adding to the answer of Marcus:
|lower
filter in the SEO settings, you need to re-build the URL indices which can also be done via the systems menu.You could use the SQL query
once to make all existing SEO paths lowercase.
Use this at your own risk, as former existing links using upper-case might now cause 404 errors. So there is a chance that this might have a negative impact on SEO.