lundi 29 octobre 2018

public/index.php to remove / redirect to domain in laravel

I have developed one laravel application. Initially we have executing http://127.0.0.1/laravel_app/public this url structure.

Ater completing application i have moved to server with domain.

Example: http://www.example.com it working fine. I have integrated .htaccess to remove public. its working fine.

But i have try to http://www.example.com/public/index.php above url manually typed site will display.

How can remove if users enter manually enter this type of URL http://www.example.com/public/index.php

Kindly guide me.

Thank you.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire