cancel
Showing results for 
Search instead for 
Did you mean: 

Full category URL structure on product level

Full category URL structure on product level

Hi, 

On product level only the product is added to the domain URL structure. See screenshot: http://prntscr.com/ns9awu
Is it possible to show the domain URL followed by the category URL and followed by the product url? So the full url structure is used for products?

If this is possible is it recommended to change this? Or will this break my SEO?

Regards

6 REPLIES 6

Re: Full category URL structure on product level

Hi @Jojobaa ,

You need to change a setting from the admin panel.

Admin=>Configuration=>Catalog=>Search Engine Optimization=>Use Categories Path for Product URLs="YES"

Please find attachment for the reference.
seoimage.png
Then re-index once and test.

I hope it will help you!

Re: Full category URL structure on product level


@Vimal Kumar wrote:

Hi @Jojobaa ,

You need to change a setting from the admin panel.

Admin=>Configuration=>Catalog=>Search Engine Optimization=>Use Categories Path for Product URLs="YES"

Please find attachment for the reference.

Then re-index once and test.

I hope it will help you!


@Vimal Kumar Thanks for the reply, but if I change this, will this break my SEO?

Re: Full category URL structure on product level

Anyone?

Re: Full category URL structure on product level

@Jojobaa 
It will not break your SEO. There will be 301 redirect.
301, "Moved Permanently"—recommended for SEO

You can also enable :

Use Canonical Link Meta Tag For Categories = Yes

For more info:
https://bsscommerce.com/blog/magento-2-seo-settings-all-default-seo-features-of-magento-2/

I hope it will help you!

Re: Full category URL structure on product level

@Vimal Kumar 

Hi, thanks for your reply.

I changed it here as you suggested: http://prntscr.com/oa53qu
Rebuild, reindexed and cleared cache but the URL is still short on frontend: http://prntscr.com/oa556g
I also cleared browser cache.

Regards

Re: Full category URL structure on product level

Hi @Jojobaa,

Please make sure that you have enabled the settings for correct store. 

Run the following commands once:

php bin/magento indexer:reindex
php bin/magento cache:flush

It should work.