Set page title for Category Page in Magento 2 – By default, Magento uses the category name for page title. However, sometimes we want to set the page title manually.
In this tutorial, we will tell you a way to change category page title without editing the category name.
We will use layout update feature.
Contents
1. Go to the category you want to edit title
Admin Menu -> Catalog -> Categories -> Select the category -> Choose store scope ( optional )
2. Select tab “Design” and field “Layout Update XML”

3. Enter following code
1 2 3 4 5 6 7 |
<referenceContainer name="page.wrapper"> <referenceBlock name="page.main.title"> <action method="setPageTitle"> <argument translate="true" name="title" xsi:type="string">New Page Title</argument> </action> </referenceBlock> </referenceContainer> |
4. Save the category and clear cache.
That’s how we use a custom page title for category page.
Thanks for reading! Leave us a message or contact us if you need assistance.