Doraimon0
Active member
- May 30, 2020
- 119
- 28
- 28
Here is a solution for people who are facing public directory issue.
Create a .htaccess file in your root directory with the following code
RewriteEngine on
RewriteBase /
# Rewrites all URLS without blog in them
RewriteCond %{REQUEST_URI} !^/public/
# Rewrites all URLS [Replace "example" with the actual domain, without the TLD (.com, .net, .biz, etc)]
RewriteCond %{HTTP_HOST} ^(www\.)?yourdomain\.
# Rewrite all those to insert /folder
RewriteRule ^(.*)$ /public/$1 [L]
here yourdomain = write only your domain name (Don't use domain extensions like domain.com or domain .net )
Thanks
Thank you, i'm using local server, successfully installed panel, but even with this method it still won't import picture of the movie..
i'm having it on "Public" folder. and accessing it from http://localhost directly.