Site cannot be accessed without having to log in.
-
When I try to access my site https://duozmedia.com my site doesn’t open, instead a file downloads.
When I logged into the backend and go to Settings/Permalinks, I had this message at the bottom:“If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.”
then this code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>By copying and pasting the code into the .htaccess file from htaccess in the Codex, I managed to have the message on the Permalinks setting page disappear. However, even after doing this, the site still cannot be accessed unless I log in.
Can anybody tell me what is happening and how to fix it?
- The topic ‘Site cannot be accessed without having to log in.’ is closed to new replies.