lundi 28 mai 2018

Laravel - Redirect Catch / Redirect Urls with an .php ending

I have an old static PHP Website, which I would like to update and rebuild it with Laravel. My Problem, all the SEO Links are already indexed with a .php ending.

Is there any chance to catch the URLs with a .php ending and redirect to URLs without a .php ending?

www.website.com/index.php -> www.website.com
www.website.com/en/products.php -> www.website.com/en/products

Thanks for your, help!



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2seiYbj
via IFTTT

Aucun commentaire:

Enregistrer un commentaire