CSS Broken After Moving index.php and .htaccess from Public Directory in Bagisto
-
I recently moved the index.php and .htaccess files from the public directory to the root directory to eliminate /public/ from the URL. After making this change and running the application using the command php -S localhost:8000, the application works fine, but the CSS is broken.
Could you please guide me on how to fix this issue while keeping the /public/ directory removed from the URL?
-
Hello @arunchahar
Kindly let us know if you make any specific changes in the .htaccess
Thanks & Regards
-
@Rishabh-Webkul no changes were made to .htaccess just change directory from public to root. What do you think - do i need to add public in css or js path somewhere?