Hello,
The only thing needs to be added is the .htaccess file at the www folder with the content
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
As per your answer .htaccess file has been added to www folder and given below code added in to it after my site redirect to example.com/public/public. please advise.
![](https://imgur.com/5HqxsIB)
![](https://imgur.com/HuVc3Ec)
sure your .htaccess is in right location? Looks like you have added to incorrect location as your domain is open at the moment which is not very secure. .htaccess needs to go in the root public_html
I am very sure that .htaccess is in right location please see https://imgur.com/TWyxfDm.
Please login or Register to submit your answer