0

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 188.11.159.103] /home/website/.htaccess: without matching section, referer: http://website.com/

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

Thanks

1
  • 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
    Commented Oct 6, 2016 at 21:54

1 Answer 1

1

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.

6
  • There is a way to access to apache error log from cpanel? i'm looking into Error Logs in the Advanced section Commented Oct 6, 2016 at 10:30
  • I don't have one to check, but this page should tell you: liquidweb.com/kb/…
    – Jonny Perl
    Commented Oct 6, 2016 at 10:40
  • Unfortunately i can't find the folder this page is telling me Commented Oct 6, 2016 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
    Commented Oct 6, 2016 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? Commented Oct 6, 2016 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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