403 Forbidden Error on all posts/pages!
-
Hi – I am a complete newbie to WordPress. I played with XAMPP and WP on my home PC and had a site up and running. So I registered my domain and purchased hosting to create my website: https://www.blurryedgez.com
My hosting provider allows me to upload content only into /httpdocs/mysite
Installation worked fine and I can even log in to the admin console to create posts. But I cannot view the posts or even the website. I get the same error:
403 Forbidden: you do not have permissions to view this content!
I get this even when I am logged in as myself.
So I went through the forums and checked the following:1. Permissions: 755 on folders, 644 on files
2. .htaccess: I cant see the file in my root, and after asking my hosting provider I was told I dont have access to that file.
– Can I create my own and put in under the /httpdocs/mysite folder?
– Is this the right code for the .htaccess file?
# BEGIN WordPress<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
– what is the extension of the .htaccess file (if any)3. Is there anything else I need to think of?
- The topic ‘403 Forbidden Error on all posts/pages!’ is closed to new replies.