First of all the question has already been asked in different form here:
Redirect www to non-www in Laravel with URL parameters
However, there are some untouched concerns:
-
Is it good enough to redirect, without specifying the status code (Like 301, Moved permanently)?
-
Would it be better to consider using middleware as suggested here: http://ift.tt/2bIZqmU ?
or
- Would it better to use classic .htaccess redirect, with [L,301]?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire