I recently uploaded a new wordpress website on a hosting service (with cpanel). I tried to change the php version because the wp theme gave me some errors on mobile but after i changed the php version the site went down with the 500 internal server errors.

I deleted the plugin folder, reset the htaccess, reupload wp-content and wp-includes but nothing happened.

This is the error log: [Thu Oct 06 05:17:16 2016] [alert] [client] /home/website/.htaccess: without matching section, referer: http://website.com/

But i checked my .htaccess and it's ok Any solutions?


  • Have you simply tried removing your .htaccess file? Back it up first of course. IMO, you have a syntax error in there. Why dont you post the contents? .htaccess usually do not hold any sensitive information. – user42826 Oct 6 '16 at 21:54

htaccess was my first thought. Since you've checked that, I'd move on to the apache error log. If you can't access this yourself your host should be able to help you.

  • There is a way to access to apache error log from cpanel? i'm looking into Error Logs in the Advanced section – Andrea Capretti Oct 6 '16 at 10:30
  • I don't have one to check, but this page should tell you: liquidweb.com/kb/… – Jonny Perl Oct 6 '16 at 10:40
  • Unfortunately i can't find the folder this page is telling me – Andrea Capretti Oct 6 '16 at 10:46
  • My next step would be to try really basic stuff (e.g. accessing static items; accessing a separate PHP script that just echoes out some text) – Jonny Perl Oct 6 '16 at 11:00
  • Thank you Jonny but i'm really noob about php and those server stuff. Do you think the only way is to speak to the server admin? – Andrea Capretti Oct 6 '16 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.