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
    103
    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

      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

        Hello @arunchahar

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

        Thanks & Regards

        A 1 Reply Last reply Reply Quote 0
        • A
          arunchahar @Rishabh-Webkul last edited by

          @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
          • First post
            Last post