# Comment puis-je restreindre l'accès à mon forum Discourse pour les utilisateurs qui ont cessé de payer leur adhésion ?

**URL:** https://meta.discourse.org/t/how-can-i-restrict-access-to-my-discourse-forum-for-users-who-have-stopped-paying-for-my-membership/104195
**Category:** WordPress
**Created:** [Décembre 13, 2018, 3:47 UTC](https://meta.discourse.org/t/how-can-i-restrict-access-to-my-discourse-forum-for-users-who-have-stopped-paying-for-my-membership/104195 "2018-12-13T15:47:13Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [Décembre 13, 2018, 5:44 UTC](https://meta.discourse.org/t/how-can-i-restrict-access-to-my-discourse-forum-for-users-who-have-stopped-paying-for-my-membership/104195/3 "2018-12-13T17:44:06Z")

</div>

> [@Ryan\_Collins1](#):
>
> Ideally when someone cancels membership with my site, they should also lose access to my forum. When they try to access the forum they should be sent to a specific page on my website where they can update their billing information in order to re-gain access to the forum.

I am assuming you are using the [WP Discourse](https://github.com/discourse/wp-discourse) plugin. There is nothing built into the plugin to handle this, but it can be done by adding some code to your site. Have a look at this post: [How to prevent some WP users from being able to login to Discourse - #2 by simon](https://meta.discourse.org/t/how-to-prevent-some-wp-users-from-being-able-to-login-to-discourse/93234/2).

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-restrict-access-to-my-discourse-forum-for-users-who-have-stopped-paying-for-my-membership/104195)._
