Make Admin Path manually configurable for all apps
-
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 mainfestsconfigurePath
I find beneficial.Edit: Screenshot
-
@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? -
@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).
-
@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.
-
@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 makingconfigurePath
configurable for Wordpress would be great for this exact use case. -
-
@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.