mercredi 19 mai 2021

How to redirect old urls to new urls in laravel 5.4?

I am changing the structure of product urls. Previously I was saving slug with spaces in db therefore they were showing like www.mydomain.com/Some%20Product

now after changing the structure it is showing as www.mydomain.com/some-product as intended

As my old urls are indexed in google so I want to redirect them to the new ones, currently my old urls showing 404page.

kindly help me. thank you.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire