Exploring Shopware: SEO Settings in Shopware 6

- E-Commerce, Shopware

By default, Shopware 6 offers several useful settings that dramatically improve the visibility of your e-commerce website from the perspective of search engines. It would be a great mistake if you don’t leverage them. But what should you do first? Below, we explore the SEO settings of Shopware 6. You will learn how to find the corresponding configuration page and what optimizations it contains. We shed light on SEO-URL templates, describe other SEO settings, and explore how to rebuild the SEO index in Shopware 6. Also, some import/export recommendations, as well as an FAQ section, are available below.

Note that we provide Shopware integration with external platforms. Contact our support for further information or try our Improved Import & Export Extension for Shopware.

Get Improved Import & Export for Shopware by Firebear Studio

Explore Shopware

SEO Settings in Shopware 6 Admin

Let’s see how to find the SEO Settings screen in the Shopware 6 administration:

  • Go to your Shopware 6 administration;
  • Open its main menu;
  • Proceed to the Settings section;
  • Open the Shop subsection;
  • Hit the SEO icon.

Shopware 6 SEO settings

Here, Shopware 6 offers tools that let you define the structure of optimized URLs for your product and category pages. The system offers numerous variables for implementation.

SEO URL Templates in Shopware 6

While creating SEO URL templates in Shopware 6, you can generate individual schemas per sales channel. Use the Sales channel section to select what you need. At the same time, you can apply the configuration globally for all sales channels.

Shopware 6 SEO settings

Product page

The Product detail page section lets you specify a template for product pages, optimizing their URLs in bulk. Specify variables in Twig format as follows:

Pay heed to a symbol situated next to the field. It indicates whether the variables stored in the SEO template are valid by displaying a green tick. If you see a red X, it means that at least one variable unsupported or incorrect. 

Choose variables from the field on the right. It lets you select designations and add them to the SEO-URL template.

Also, note that there is a preview below.

Shopware 6 SEO settings

However, things get complicated when you need to add a multi-level variable. They always require manual adjustments in the SEO template field. You can find the complete variables in the list below.

Take a look at the following variable:

In the selection on the right, it displays as follows: 

Since we deal with a multi-level variable, it requires the complete specification of the further level. Otherwise, your SEO URL template won’t work. You need to manually adjust it with the following snippet:

Below, you can see a few variables used in product page SEO URL templates:

Order number – {{ product.productNumber }} 

  • ID – {{ product.id }}
  • Name – {{ product.name }}
  • Description – {{ product.description }}
  • Manufacturer name – {{ product.manufacturer.name }}
  • Manufacturer ID – {{ product.manufacturerId }}
  • Breadcrumb – {% for part in product.mainCategory.breadcrumb %}{{ part }}/{% endfor %}
  • Price – {{ product.price }}
  • Available stock – {{ product.availableStock }}
  • Weight – {{ product.weight }}
  • Width – {{ product.width }}
  • Height – {{ product.height }}
  • Length – {{ product.length }}
  • Assigned category ID – {{ product.categoryTree }}
  • Meta Title – {{ product.metaTitle }}
  • Meta description – {{ product.metaDescription }}
  • Meta title – {{ product.metaTitle }}

Proceed to the official documentation to see the full list of variables.

Category page

This section provides the ability to adjust the category page SEO URL template. Since Shopware 6 relies on breadcrumb, you have to deal with the default category structure. However, it is possible to adjust the template for categories. You can use the following variables: 

  • Breadcrumb – {% for part in category.seoBreadcrumb %}{{ part }}/{% endfor %}
  • ID – {{ category.id }}
  • Name – {{ category.translated.name }}
  • Description – {{ category.description }}
  • Meta Title – {{ category.translated.metaTitle }} 
  • Meta Description {{ category.translated.description }} 
  • Category – {{ category }}
  • Parent category ID – {{ category.parentId }}
  • Category level – {{ category.level }}
  • Parent category – {{ category.parent }}
  • Subcategory – {{ category.children }}
  • Keywords – {{ category.translated.keywords }}
  • SEO Urls – {{ category.seoUrls }} 

Proceed to the official documentation to see the full list of variables.

Filtering

In addition to the SEO enhancements mentioned above, Shopware 6 also lets you integrate filters into the SEO template. As a result, you can create URLs in lower case only. So, how to add filters to SEO URL templates in Shopware 6? 

Use “|” to create filters.

Place filters behind the variable within “{{}}”.

Let’s assume that you have the following SEO URL template:

You can add a filter to it as follows:

Things get more interesting when the FOR loop enters the game. You can add it to the {{ part|lower }}. For instance, your category SEO URL template looks as follows:

When you add a filter to it, the template gets the following appearance:

Shopware 6 provides the ability to use the Twig filters

Forwarding behavior

Shopware 6 provides the ability to output an HTTP 301 redirect when URLs are changed. You can use this feature instead of setting Canonical URL redirects to the most recent URL. If the function is disabled, store visitors don’t get a redirection note.

Shopware 6 SEO settings

Updating SEO index in Shopware 6

After you’ve applied changes to the Shopware 6 settings, it is necessary to update your SEO index. When the new SEO template is ready, go to the console and use the following command:

How to import SEO templates to Shopware 6

Importing SEO templates to Shopware 6 doesn’t make any sense, since they are individual per each store. However, you may need to transfer other SEO optimizations, such as product and category metadata. If you need to do that, you’ve come to the right place. With the help of our team, there is no need to recreate things manually. You can simplify and automate this process with the proper import procedure. Contact our support for more details and try our Improved Import & Export Extension for Shopware. You can use it to import any entity to Shopware 6, including products and categories that already include metadata. The module lets you create a schedule of updates. As a result, all entities are provided to your website automatically. This also works for export. Another cool feature is mapping. The plugin lets you create presets which transform imported/exported information according to the specified parameters. Consequently, any external output can be moved to Shopware. 

Shopware 6 SEO Settings FAQ

How to find SEO settings in Shopware 6?

The Shopware 6 SEO settings are situated under Settings -> Shop -> SEO.

How to add SEO URL templates for product pages in Shopware 6?

Go to Settings -> Shop -> SEO to add new SEO URL templates for product pages there, using variables. Follow the instructions provided in this article.

How to add SEO URL templates for category pages in Shopware 6?

Go to Settings -> Shop -> SEO to add new SEO URL templates for category pages there, using variables. Follow the instructions provided in this article.

How to enable HTTP 301 redirects in Shopware 6?

You can enable HTTP 301 redirects in Shopware 6 under Settings -> Shop -> SEO.

How to update the SEO index in Shopware 6?

After you’ve applied changes to the SEO settings, it is necessary to reindex them. You can update your SEO index in Shopware 6 with this command: php bin/console dal:refresh:index

Shopware 6 Essentials FAQ

How to create a Shopware account?

Visit the registration page to create a Shopware account. Find the Register Now link and click it. Next, you need to fill in the form. After that, a confirmation email is sent to your email address. Follow the instructions provided in it.

What about a Shopware ID?

You don’t have to create a Shopware ID since it is provided during the registration automatically.

How to deal with Shopware master data and what is it?

Shopware 6 master data is a universal term that combines all the data you provide to the system about your website. It usually consists of various company details, such as physical addresses, phone numbers, emails, etc.

How to add a new Shopware shop?

Visit your merchant area to add a new shop in Shopware 6. Click the corresponding link, choose the type of your new shop, and provide the information required by the system. Note that it is possible to add a cloud storefront or an on-premise installation.

How to add a payment method to your Shopware account?

In Shopware 6, you need to add payment methods for internal purposes, such as purchases of extensions and themes. You can do that under Basic Information -> Accounting. Choose PayPal, credit card, or direct debit as your way to pay for tools.

How to create a deposit in Shopware?

Now, you can create a deposit to purchase extensions and themes for your Shopware 6 website. Go to your Merchant Area -> Shops. Here, you can choose a shop to provide funds to and click Open Account Details. Note that your deposit should be equal higher than the amount of your future purchase.

How to purchase Shopware extensions?

You can purchase extensions either on the Shopware Marketplace or in the Plugin Manager. In both cases, create a deposit, as described above, choose a tool you want to buy, and complete the checkout.

How to get support in Shopware?

info@shopware.com and +49 2555 9288 50 – use these ways to connect Shopware regarding account or license issues. Try the following email and phone number if you have questions regarding accounting and financial services – financial.services@shopware.com and +49 2555 9288 510.

How to automate import and export processes in Shopware 6?

Shopware 6 doesn’t let you automate import and export processes by default. You need a third-party tool to do that. We recommend using the Improved Import & Export extension for Shopware 6. It provides the ability to maintain recurring data transfers with no interaction on the admin side. The module lets you create schedules to simplify regular data updates. As a result, you launch the corresponding import and export processes according to the specified time frames.

How to migrate to Shopware 6?

In addition to recurring transactions, the Improved Import & Export module lets you migrate to Shopware 6 from your existing e-commerce website. It doesn’t matter whether you move from other e-commerce platforms or Shopware’s previous versions. You just need to create schedules of updates and mapping schemes and connect your new website to the old one. Note that we also offer export solutions for such platforms like Magento and Shopify, simplifying migrations from them. Contact us for more information.

How to integrate Shopware 6 with external systems?

With the Improved Import & Export extension, you can also integrate Shopware 6 with ERPs, CRMs, accounting tools, and other similar solutions. The module lets you automate repetitive import and export processes. Besides, it can modify data automatically with the help of mapping presets. The plugin lets you follow the requirements of your Shopware store during import and the rules of the connected platform during export. Since all data transfers are automated after the tool is properly configured, no interaction on the admin side is necessary.

Get Improved Import & Export for Shopware by Firebear Studio

Explore Shopware