Answer the question
In order to leave comments, you need to log in
Why does it give an error when redirecting to .htaccess?
RewriteEngine On
RewriteRule ^(.*)$ /public/$1
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
the public folder is in the same directory as .htaccess, and it contains index.php
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question