# Edité .htaccess y ahora obtengo el error de SSO de Discourse expirado

**URL:** <https://meta.discourse.org/t/edited-htaccess-and-now-im-getting-discourse-sso-expired-error/86848>\
**Category:** WordPress\
**Created:** [5 Mayo, 2018 20:43 UTC](https://meta.discourse.org/t/edited-htaccess-and-now-im-getting-discourse-sso-expired-error/86848 "2018-05-05T20:43:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)\
**Post date:** [6 Mayo, 2018 04:10 UTC](https://meta.discourse.org/t/edited-htaccess-and-now-im-getting-discourse-sso-expired-error/86848/2 "2018-05-06T04:10:32Z")

</div>

Above code looks incomplete. Also, below one looks wrong.

```
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On 
# Default directive
ExpiresDefault "access plus 1 month"
</IfModule>

```

It will set max-age for 30 days for everything, it will cause terrible browser caching issue with your site. Please avoid. Rest your choice!

- Instead of using manual .htaccess code, just use one cache plugin and it will handle all common stuffs in better way.
- Or, implement a CDN to handle GZIP and Browser Cache which you are trying to do using above codes.

---

_[View the full topic](https://meta.discourse.org/t/edited-htaccess-and-now-im-getting-discourse-sso-expired-error/86848)._
