# Site\_setting.tos\_url doesn't work

**URL:** https://meta.discourse.org/t/site-setting-tos-url-doesnt-work/259365
**Category:** Support
**Created:** [March 25, 2023, 4:33am UTC](https://meta.discourse.org/t/site-setting-tos-url-doesnt-work/259365 "2023-03-25T04:33:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [March 25, 2023, 4:33am UTC](https://meta.discourse.org/t/site-setting-tos-url-doesnt-work/259365/1 "2023-03-25T04:33:54Z")

</div>

Since there [is not a way](https://meta.discourse.org/t/discourse-policy-plugin-does-not-work-with-terms-of-service/257769/4) to make users accept the Terms of Service, I need to redirect them to another location. But that doesn’t work either.

I set `site_settings.tos_url = https://www.google.com` (or any other url- I’ve tried urls both inside and outside the forum). [https://forum.example.com/tos](https://forum.example.com/tos) still displays the contents of [https://forum.example.com/t/terms-of-service/4](https://forum.example.com/t/terms-of-service/4). Clicking “Edit this page” still takes me to [https://forum.example.com/t/terms-of-service/4](https://forum.example.com/t/terms-of-service/4).

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [March 27, 2023, 6:35pm UTC](https://meta.discourse.org/t/site-setting-tos-url-doesnt-work/259365/2 "2023-03-27T18:35:51Z")

</div>

> [@markschmucker](#):
>
> Since there [is not a way](https://meta.discourse.org/t/discourse-policy-plugin-does-not-work-with-terms-of-service/257769/4) to make users accept the Terms of Service, I need to redirect them to another location. But that doesn’t work either.

There is a way to add a checkbox to the sign up form, an example is at [How to make users to explicitly agree to ToS - #4 by neil](https://meta.discourse.org/t/how-to-make-users-to-explicitly-agree-to-tos/83480/4), if you are interested in that approach. 🙂

> [@markschmucker](#):
>
> I set `site_settings.tos_url = https://www.google.com` (or any other url- I’ve tried urls both inside and outside the forum). [https://forum.example.com/tos](https://forum.example.com/tos) still displays the contents of [https://forum.example.com/t/terms-of-service/4](https://forum.example.com/t/terms-of-service/4). Clicking “Edit this page” still takes me to [https://forum.example.com/t/terms-of-service/4](https://forum.example.com/t/terms-of-service/4).

I’m not able to reproduce this bug. When I set the `tos_url` the `/tos` redirects to the URL I set (in my case it redirects to [https://discourse.org](https://discourse.org)). Were you perhaps looking at page that hadn’t be refreshed, and still linked to the original topic? 🤔

---

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [March 29, 2023, 2:51am UTC](https://meta.discourse.org/t/site-setting-tos-url-doesnt-work/259365/3 "2023-03-29T02:51:19Z")

</div>

> [@maiki](#):
>
> add a checkbox to the sign up form

I should have said there is not a way to make users accept **updated Terms of Service** , after the signup process.

I refreshed, including Shift-F5 and Ctrl-F5, many times, and it always failed on my home computer. But since you said it worked for you, I tried it just now on my work computer and now it works. I’ll try at home again tonight.

---

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [March 29, 2023, 4:12am UTC](https://meta.discourse.org/t/site-setting-tos-url-doesnt-work/259365/4 "2023-03-29T04:12:00Z")

</div>

I had been changing the text for the setting rather than changing the setting itself:

> [@markschmucker](#):
>
> I set `site_settings.tos_url = https://www.google.com`

rather than the setting `tos_url`.

After all it says “If you have a Terms of Service document hosted elsewhere that you want to use, provide the full URL here.” so that’s my excuse 🤣
