I am working on LARAVEL 5.3 Application and trying to redirect all requests with index.php to without index.php eg: if someone enters http://ift.tt/2uEUms8 it should redirect to http://ift.tt/2v0u8TA I have successfully achieved this with following code
#index.php to normal
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^index.php(.*)$ $1 [R=301,L]
But there is a problem when the link is http://ift.tt/1dt4zI4
the request with http://ift.tt/1dt4zI4 is redirected to http://ift.tt/2v07s5E But I want it to be redirected to only example.com
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire