mardi 27 février 2018

Laravel Permanent Redirect

We are about to migrate our company website from standard .php website to Laravel. We kept the same url structure except that the new url's don't use .php at the end of the file name.

We want to allow our customers to still use the old url ( www.oursite.com/faq.php ) with the .php at the end, but redirect them to the new clean url without the .php ( http://dev2.goverlan.com/faq ) if our users paste the old url in the browser address bar.

Any ideas in how to do this?



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

Aucun commentaire:

Enregistrer un commentaire