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


    Cloudron Forum

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

    Make Admin Path manually configurable for all apps

    Feature Requests
    userinterface
    4
    13
    532
    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.
    • Lonkle
      Lonkle last edited by girish

      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 Reply Quote 2
      • girish
        girish Staff last edited by

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

        Lonkle 1 Reply Last reply Reply Quote 0
        • Lonkle
          Lonkle @girish last edited by 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).

          girish 1 Reply Last reply Reply Quote 1
          • girish
            girish Staff @Lonkle last edited by

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

            Lonkle 2 Replies Last reply Reply Quote 1
            • Lonkle
              Lonkle @girish last edited by Lonkle

              @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 Reply Quote 2
              • robi
                robi last edited by

                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.

                Life of Advanced Technology

                Lonkle 1 Reply Last reply Reply Quote 0
                • Lonkle
                  Lonkle @robi last edited by

                  @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 Reply Quote 0
                  • d19dotca
                    d19dotca last edited by

                    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 Reply Quote 1
                    • Lonkle
                      Lonkle @girish last edited by

                      @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).

                      girish 1 Reply Last reply Reply Quote 1
                      • girish
                        girish Staff @Lonkle last edited by

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

                        Lonkle 1 Reply Last reply Reply Quote 0
                        • Lonkle
                          Lonkle @girish last edited by 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.

                          robi 1 Reply Last reply Reply Quote 0
                          • robi
                            robi @Lonkle last edited by

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

                            Life of Advanced Technology

                            Lonkle 1 Reply Last reply Reply Quote 0
                            • Lonkle
                              Lonkle @robi last edited by

                              @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 Reply Quote 0
                              • First post
                                Last post
                              Powered by NodeBB