Bagisto Forum

    Bagisto

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

    How to redirect domain to subdirectory without changing URL

    General Discussion
    2
    6
    367
    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.
    • bala
      bala last edited by

      c2ceylon.com is my primary domain , so i want to redirect to public_html/c2ceylon/public without changing the url (c2ceylon.com)

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        @bala
        hope this link will help you https://forums.bagisto.com/topic/1546/issue-in-live-server/10

        1 Reply Last reply Reply Quote 0
        • bala
          bala last edited by bala

          iam tired of this ma'am..not working

          1 Reply Last reply Reply Quote 0
          • bala
            bala last edited by

            i did but not working https://prnt.sc/tiv3c2

            1 Reply Last reply Reply Quote 0
            • V
              Vaishali Agarwal last edited by

              @bala
              once check this configuration on your server https://forums.bagisto.com/topic/77/admin-login-route-not-found

              1 Reply Last reply Reply Quote 0
              • bala
                bala last edited by

                @bala said in How to redirect domain to subdirectory without changing URL:

                c2ceylon.com is my primary domain , so i want to redirect to public_html/c2ceylon/public without changing the url (c2ceylon.com)

                i did this, simply add public_html / .htaccess

                RewriteEngine On

                RewriteRule ^(.*)$ sub_folder/public/$1 [L, NC, QSA]

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post