# Désactiver YunoHost sur Wordpress

**URL:** https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245
**Category:** Support apps
**Tags:** french, english
**Created:** [April 5, 2021, 1:27am UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245 "2021-04-05T01:27:33Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![addictif80](https://forum.yunohost.org/user_avatar/forum.yunohost.org/addictif80/32/2736_2.png) [@addictif80](https://forum.yunohost.org/u/addictif80)
#### Post date: [April 5, 2021, 1:27am UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/1 "2021-04-05T01:27:33Z")

</div>

🇬🇧  
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

🇨🇵  
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

---

<div class="post-metadata">

### Author: ![Bertie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/bertie/32/2265_2.png) [@Bertie](https://forum.yunohost.org/u/Bertie)
#### Post date: [April 5, 2021, 9:41am UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/2 "2021-04-05T09:41:22Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ljf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ljf/32/58_2.png) [@ljf](https://forum.yunohost.org/u/ljf)
#### Post date: [April 5, 2021, 10:06pm UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/3 "2021-04-05T22:06:05Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![addictif80](https://forum.yunohost.org/user_avatar/forum.yunohost.org/addictif80/32/2736_2.png) [@addictif80](https://forum.yunohost.org/u/addictif80)
#### Post date: [April 5, 2021, 10:33pm UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/4 "2021-04-05T22:33:57Z")

</div>

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. Don’t forget to restart nginx service with `sudo service nginx restart`

Thanks a lot to you Bertie and ljf 🙂

---

<div class="post-metadata">

### Author: ![Bertie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/bertie/32/2265_2.png) [@Bertie](https://forum.yunohost.org/u/Bertie)
#### Post date: [April 6, 2021, 11:31am UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/5 "2021-04-06T11:31:46Z")

</div>

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

---

<div class="post-metadata">

### Author: ![jef](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/e5b9ba/32.png) [@jef](https://forum.yunohost.org/u/jef)
#### Post date: [April 14, 2021, 8:34pm UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/6 "2021-04-14T20:34:08Z")

</div>

Feel free nevertheless and take some time to promote the YunoHost project in another manner (with a visible link to the project somewhere in the Wordpress application), if you decide to remove the YunoHost square from the bottom right.

I believe it is important (not only to use tools but also) to promote and advocate the Free Software philosophy, logic and ethic.

Regards.

---

<div class="post-metadata">

### Author: ![Leo](https://forum.yunohost.org/user_avatar/forum.yunohost.org/leo/32/1134_2.png) [@Leo](https://forum.yunohost.org/u/Leo)
#### Post date: [April 17, 2021, 8:49pm UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/7 "2021-04-17T20:49:20Z")

</div>

> [@addictif80](#):
>
> 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.

I don’t understand the reason of the presence of the square on Wordpress, even on the public-side view. Is it a bug or a feature? I also noticed that it doesn’t appear on some installs but a look in the console shows that it is called nonetheless.

---

<div class="post-metadata">

### Author: ![addictif80](https://forum.yunohost.org/user_avatar/forum.yunohost.org/addictif80/32/2736_2.png) [@addictif80](https://forum.yunohost.org/u/addictif80)
#### Post date: [April 18, 2021, 6:23pm UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/8 "2021-04-18T18:23:56Z")

</div>

The square appear for the Wordpress admin only.  
When you go to /wp-admin, the YNH LDAP auth is needed, and when you’ve got connected as administrator with your YNH account, the square show the YNH SSO panel on click.

---

<div class="post-metadata">

### Author: ![Leo](https://forum.yunohost.org/user_avatar/forum.yunohost.org/leo/32/1134_2.png) [@Leo](https://forum.yunohost.org/u/Leo)
#### Post date: [April 19, 2021, 6:13am UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/9 "2021-04-19T06:13:03Z")

</div>

No, I have console errors regarding the square (incorrect MIME type) even when I am not connected.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [May 4, 2021, 6:13am UTC](https://forum.yunohost.org/t/desactiver-yunohost-sur-wordpress/15245/10 "2021-05-04T06:13:43Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
