Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Make Admin Path manually configurable for all apps

Make Admin Path manually configurable for all apps

Scheduled Pinned Locked Moved Feature Requests
userinterface
13 Posts 4 Posters 2.0k Views 4 Watching
  • 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.
    • LonkleL Offline
      LonkleL Offline
      Lonkle
      wrote on last edited by girish
      #1

      There's a line in the manifest configurePath that allows you to set an "admin path" directly to the backend (add's a little icon on the app icon).

      I've been loving using it on my custom apps. But my in store apps, like Wordpress, don't have an admin url to click (and I never want to go into the front end of WP). I even customized my Wordpress' /wp-admin/ URL to something else for security sake. So making the Admin Path customizable in the Configure Pane of an app to override even the mainfests configurePath I find beneficial.

      Edit: Screenshot

      Screen Shot 2020-10-19 at 1.41.41 PM.png

      1 Reply Last reply
      2
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @Lonk We have usually added the configurePath only for apps which make the admin URL very hard to find. For example, like Ghost app. For something like WordPress, some people change that via plugins even. I guess security by obscurity. That said, I don't mind adding it for WP. Are there any other apps where admin url is hard to find?

        LonkleL 1 Reply Last reply
        0
        • girishG girish

          @Lonk We have usually added the configurePath only for apps which make the admin URL very hard to find. For example, like Ghost app. For something like WordPress, some people change that via plugins even. I guess security by obscurity. That said, I don't mind adding it for WP. Are there any other apps where admin url is hard to find?

          LonkleL Offline
          LonkleL Offline
          Lonkle
          wrote on last edited by Lonkle
          #3

          @girish Wordpress is the only app for me personally that would need it. I actually did change my login URL with a plugin and would love even if this was exclusively a Wordpress thing (because of the hiding of the link, security by obscurity - as you'd mentioned).

          Side note: I forgot what I changed the login URL to once for an hour so that makes this even more valuable for me and my forgetful-ness (aside from the convenience of going straight to the backend).

          girishG 1 Reply Last reply
          1
          • LonkleL Lonkle

            @girish Wordpress is the only app for me personally that would need it. I actually did change my login URL with a plugin and would love even if this was exclusively a Wordpress thing (because of the hiding of the link, security by obscurity - as you'd mentioned).

            Side note: I forgot what I changed the login URL to once for an hour so that makes this even more valuable for me and my forgetful-ness (aside from the convenience of going straight to the backend).

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @Lonk Right, this is why we didn't add it for WP 🙂 I would say 1 in 2 installations changes that URL so it cannot come from the manifest itself (maybe the default can come from manifest). But now, we have to make it configurable as well. Anyway, I am happy to see how many other users want this.

            LonkleL 2 Replies Last reply
            1
            • girishG girish

              @Lonk Right, this is why we didn't add it for WP 🙂 I would say 1 in 2 installations changes that URL so it cannot come from the manifest itself (maybe the default can come from manifest). But now, we have to make it configurable as well. Anyway, I am happy to see how many other users want this.

              LonkleL Offline
              LonkleL Offline
              Lonkle
              wrote on last edited by Lonkle
              #5

              @girish Exactly, I was thinking the default from the manifest /wp-admin with it configurable in the "Configure" button settings.

              I know at least @marcusquinn would find the Wordpress Backend Admin URL beneficial as well.

              1 Reply Last reply
              2
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #6

                does that mean fixing the default theme so people can log in initially? or just have it in the first-run popup?

                The WP Cerber plugin can rename the admin link too.

                Conscious tech

                LonkleL 1 Reply Last reply
                0
                • robiR robi

                  does that mean fixing the default theme so people can log in initially? or just have it in the first-run popup?

                  The WP Cerber plugin can rename the admin link too.

                  LonkleL Offline
                  LonkleL Offline
                  Lonkle
                  wrote on last edited by
                  #7

                  @robi said in Make Admin Path manually configurable for all apps:

                  does that mean fixing the default theme so people can log in initially? or just have it in the first-run popup?

                  The WP Cerber plugin can rename the admin link too.

                  Well, on initial installation, the admin url will always be /wp-admin but since plugins can change that, a configurable setting in the Wordpress app for "Admin Path" would be beneficial for Wordpress users. Tbh, I'd take the solution even if it was hardcoded to /wp-admin and just switch back. But making configurePath configurable for Wordpress would be great for this exact use case.

                  1 Reply Last reply
                  0
                  • d19dotcaD Offline
                    d19dotcaD Offline
                    d19dotca
                    wrote on last edited by
                    #8

                    Yeah I'd love to see this be configurable. I know it's usually at the package level but as we've discussed WordPress people change that often, so it'd be nice to have a way to overwrite the default admin path in Cloudron for those who customize it.

                    --
                    Dustin Dauncey
                    www.d19.ca

                    1 Reply Last reply
                    1
                    • girishG girish

                      @Lonk Right, this is why we didn't add it for WP 🙂 I would say 1 in 2 installations changes that URL so it cannot come from the manifest itself (maybe the default can come from manifest). But now, we have to make it configurable as well. Anyway, I am happy to see how many other users want this.

                      LonkleL Offline
                      LonkleL Offline
                      Lonkle
                      wrote on last edited by
                      #9

                      @girish Did this configurable / optional setting ever make it into a future release? I'd love to use it with my wp-admin (that I configure).

                      girishG 1 Reply Last reply
                      1
                      • LonkleL Lonkle

                        @girish Did this configurable / optional setting ever make it into a future release? I'd love to use it with my wp-admin (that I configure).

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #10

                        @lonkle not yet, currently not planned for any release.

                        LonkleL 1 Reply Last reply
                        0
                        • girishG girish

                          @lonkle not yet, currently not planned for any release.

                          LonkleL Offline
                          LonkleL Offline
                          Lonkle
                          wrote on last edited by Lonkle
                          #11

                          @girish One day tho maybe? I find myself constantly wanting to fork Wordpress just to add configurePath to the manifest, it's really useful tbh.

                          robiR 1 Reply Last reply
                          0
                          • LonkleL Lonkle

                            @girish One day tho maybe? I find myself constantly wanting to fork Wordpress just to add configurePath to the manifest, it's really useful tbh.

                            robiR Offline
                            robiR Offline
                            robi
                            wrote on last edited by
                            #12

                            @lonkle why not do it and see if it gets pulled in?

                            Conscious tech

                            LonkleL 1 Reply Last reply
                            0
                            • robiR robi

                              @lonkle why not do it and see if it gets pulled in?

                              LonkleL Offline
                              LonkleL Offline
                              Lonkle
                              wrote on last edited by
                              #13

                              @robi I don't touch dashboard code. I wouldn't mind doing a PR for the Wordpress (Developer) project to add this but to be applicable to all users dashboard code would be needed since "admin urls" are technically changeable.

                              I don't think @girish should accept anything less than me doing a PR for making the fields customizable. And...okay, now that I've thought about it, if Girish isn't against the PR for the dashboard change, then I'm down to code it.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Bookmarks
                                • Search