I created a new theme with index.php,style.css and screenshot.png. Later on created header.php,footer, menu ect. The problem is i cannot access those. I can open index.php,style.css and screenshot.png with no problems. All the files have premissions 755, checked x10.
Examples from url:
http://mysite.lv/wp-content/themes/wpbootstrap/index.php <-opens
http://mysite.lv/wp-content/themes/wpbootstrap/style.css <- opens
http://mysite.lv/wp-content/themes/wpbootstrap/header.php <-fobidden
http://mysite.lv/wp-content/themes/wpbootstrap/footer.php <-fobidden
error message:
You don’t have permission to access /wp-content/themes/wpbootstrap/header.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Read more here: WordPress cannot access files