D
D
Denis Dormadekhin2018-02-07 10:48:11
Laravel
Denis Dormadekhin, 2018-02-07 10:48:11

How to remove public from url in laravel 5.5?

The essence of the problem is as follows, when adding "\" at the end of the address, url in the address bar is added /public/ at the beginning of the address?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Ainur Valiev, 2018-02-07
@vaajnur

htaccess, nginx configs

A
Anton Mashletov, 2018-02-07
@mashletov

Because webroot had to be set to public, and not to the root of the site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question