Désactiver YunoHost sur Wordpress

,

:uk:
Hello, i would like to know if is it possible to disable YunoHost authentication before accessing to Wordpress Admin Panel (wp-admin), and the YunoHost square in the right bottom ?
Best regards

:clipperton_island:
Bonjour,
je voudrais savoir s’il était possible de désactiver l’authentification de YunoHost avant d’accéder au panneau d’administration de Wordpress (wp-admin), et le carré YunoHost en bas à droite ?
Bien à vous

I have the same problems.
I solved one:

YunoHost square in the right bottom

I edited the file
nano /etc/nginx/conf.d/mydomain.ltd.d/wordpress.conf

I commented the line in the section

$ Include SSOWAT user panel.

$ # include conf.d/yunohost_panel.conf.inc;

But I can’t find a way to login under /wp-admin since the latest Yunhost upgrade.
I’d love a solution too.

For info, I have only one wordpress installed via Yunohost app. I installed other sites with a custom web app and the code directly from Wordpress to have the official code. It takes more time as you need to create a db in phpmy admin.

It might be possible to do it by giving in Webadmin > User > Manage groups and permissions . Here you should have a Wordpress (admin) permission that you probably could give to “Visitors” special group.

For the YNH auth it’s ok, but for the square, if i give the wordpress admin permission for visitors, the square will be hidden ?

EDIT :
Tested, the square still on bottom right

There is the solution for delete all YNH presence on Wordpress install :

  • for wp-admin Yunohost login, in yunohost admin panel, click on the installed wordpress app > permissions and groups > visitor area > add permission “site (admin)”
  • for the square connect in SSH to your server, go to /etc/nginx/conf.d/domain.tld.d and edit wordpress.conf file and add a hashtag (#) before include conf.d/yunohost_panel.conf.inc; in SSOWAT admin panel section.

Thanks a lot to you Bertie and ljf :slight_smile:

2 Likes

Thanks @addictif80
I spent a long time looking at the code. I didn’t know if was as simple as permission admin!