V
V
VitaliyBorys2018-08-18 10:10:11
Laravel
VitaliyBorys, 2018-08-18 10:10:11

Public in Laravel, how to avoid duplicates?

Is there a way to avoid duplicate pages in Laravel related to public ?
For example mysite.com/home and mysite.com/public/home are the same page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2018-08-18
@alexey-m-ukolov

Yes - you need to read the documentation and configure the web server correctly, because mysite.com/public/homethere can't be a url at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question