# Allow login to a read-only site

**URL:** <https://meta.discourse.org/t/allow-login-to-a-read-only-site/54270>\
**Category:** Feature\
**Tags:** read-only\
**Created:** [14 ديسمبر 2016، 10:30م UTC](https://meta.discourse.org/t/allow-login-to-a-read-only-site/54270 "2016-12-14T22:30:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [14 ديسمبر 2016، 10:30م UTC](https://meta.discourse.org/t/allow-login-to-a-read-only-site/54270/1 "2016-12-14T22:30:30Z")

</div>

I did an import of some Wordpress data to an already active site. I thought it would be a Good Idea to put the site in read-only mode while I was doing the import so that people wouldn’t add data to the site that would get erased when the site + import\_data was uploaded.

That’s a Bad Idea. Now I can’t log in. On a self-hosted site, you can fix this from the rails console, on a hosted site, however, you’re stuck (I just emailed team). I tried `/users/admin-login`, but it can’t work either (obvious in retrospect).

This doesn’t seem like that much of an edge case, shouldn’t there be a way to freeze a site that still allows admins to log in?

---

_[View the full topic](https://meta.discourse.org/t/allow-login-to-a-read-only-site/54270)._
