Search code examples
phplaravelapachelaragon

Laragon - pretty url for one app does not work


After enabling the auto virtual host I wanted to try pretty url for my current project. Problem is it first showed index of/ of the project and after trying some solutions it now shows "This site cannot be reached!" error. The pretty url feature wotks withother projects.

What I tried:

.restarting laragon and pc

.enabeling nginx

.renaming the project

.clearing something in my apache server

Any suggestion?

Thank you in advance!


Solution

  • what i do is :

    a. open laragon > menu > apache > sites-enabled > Delete all [auto]

    b. if you are using ur own computer, please set Open as administrator to Laragon

    c. make sure auto virtual host is checked on laragon

    d. last, check your host file, don't forget to un-check 'Read-Only' options