• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

CSS Broken After Moving index.php and .htaccess from Public Directory in Bagisto

General Discussion
2
3
106
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    arunchahar last edited by 15 Nov 2024, 05:46

    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?

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by 15 Nov 2024, 07:03

      Hello @arunchahar

      Kindly let us know if you make any specific changes in the .htaccess

      Thanks & Regards

      A 1 Reply Last reply 15 Nov 2024, 09:43 Reply Quote 0
      • A
        arunchahar @Rishabh-Webkul last edited by 15 Nov 2024, 09:43

        @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?

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post