Bagisto Forum

    Bagisto

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

    I would like like to change the admin route or url

    General Discussion
    6
    22
    2074
    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.
    • T
      THINKLIFE last edited by

      Please is it Possible for me to change the admin Route or Url?
      for example
      https://example.com/admin takes me to the admin page.
      this url can easily be guessed by anyone .
      I would love to change it to something different or move it to a sub-domain

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

        @THINKLIFE
        ok allow us time, we will get back to you with the solution soon!
        🙂

        1 Reply Last reply Reply Quote 0
        • devansh-webkul
          devansh-webkul last edited by

          Hi @THINKLIFE,

          There is route file i.e. 'packages/Webkul/Admin/src/Http/routes.php'. If you see that file, you need to change your prefix only,

          Route::prefix('admin')->group(function () {
              ...
          }
          

          to

          Route::prefix('prefix-name-you-want-to-put-here')->group(function () {
              ...
          }
          

          Important Note: As I am seeing the code structure there are several blade files in which 'url('/admin/dashboard')' is written so you need to replace it with the prefix as well.

          However, we are working on it to make it single change which reflect to multiple areas.

          1 Reply Last reply Reply Quote 0
          • T
            THINKLIFE last edited by

            @devansh419 thanks for your solutions

            1 Reply Last reply Reply Quote 0
            • T
              THINKLIFE last edited by

              @Vaishali-Agarwal am still expecting a solution from you

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

                Hi @THINKLIFE
                I transferred your query to @devansh419 for a quick response,So he gave you the possible solution.
                Kindly do the same as suggested by @devansh419 if still any doubt, don't hesitate to ask.

                Thanks

                1 Reply Last reply Reply Quote 0
                • T
                  THINKLIFE last edited by

                  @Vaishali-Agarwal alright i appreciate

                  1 Reply Last reply Reply Quote 1
                  • S
                    sk3577311 last edited by

                    i woukd like to change domain name and also I was looking to get the storefront theme so please guide me.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      Noha Ahmed @sk3577311 last edited by

                      @sk3577311 you can do that from the .env file
                      APP_ADMIN_URL=theName

                      S 1 Reply Last reply Reply Quote 0
                      • A
                        Amitk-Webkul last edited by

                        Hello @sk3577311,

                        You can do the same.

                        If still facing the issue please let us know.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sk3577311 @Amitk-Webkul last edited by

                          @Amitk-Webkul i am facing very difficulties in adding navbar and also contents of the page in default theme.

                          1 Reply Last reply Reply Quote 0
                          • A
                            Amitk-Webkul last edited by Amitk-Webkul

                            Hello there,

                            Please add the APP_URL or APP_ADMIN_URL in the .env file and then check.

                            If you still facing the same please let us know.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sk3577311 @Amitk-Webkul last edited by

                              @Amitk-Webkul leave the url matter. i am now trying to add home page content like navbar and products and all but nothing is showing and when I am adding the content in the channel page its coming error please help

                              1 Reply Last reply Reply Quote 0
                              • S
                                sk3577311 @Noha Ahmed last edited by

                                @Noha-Ahmed please help someone, i am not able to change favicon, slider not showing even though I included it in homepage content and still giving count error and when I'm using "=>" in homepage content in channels page its giving my syntax error.,
                                please help meScreenshot (121).png Screenshot (124).png Screenshot (126).png

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  sk3577311 @sk3577311 last edited by

                                  @sk3577311 Screenshot (125).png

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Amitk-Webkul last edited by

                                    Hello there,

                                    Which version of Bagisto are you using?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      sk3577311 @Amitk-Webkul last edited by

                                      @Amitk-Webkul the latest one i think 1.4.1

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        Amitk-Webkul last edited by

                                        Hello @sk3577311,

                                        For the sliders no need to add a slider in velocity. and while passing any key we have to add the parameter with (") double coats.

                                        and For the favicon, we are not getting any issues in adding favicon. Can you please share the steps of how you are adding a favicon?

                                        Thanks.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          sk3577311 @Amitk-Webkul last edited by

                                          @Amitk-Webkul im not adding slider in velocity but in my theme and for favicon I'm uploading the favicon in general settings , so please help me, I've already tried everything but slider anything that I'm using "=>" this and this is not working.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            sk3577311 @sk3577311 last edited by

                                            @sk3577311 706d515d-c8f2-4b1a-a09d-4acfa933c894-image.png
                                            this one I'm trying to upload favicon. it isn't working.

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