I have the following error:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

And not as repair it. I changed a few files with the header and footer and then this error appearing

  • Can you undo your changes? Do you have original copies that you can upload via FTP? May 12, 2015 at 17:59
  • Post your server logs
    – m4n0
    May 12, 2015 at 17:59
  • @TheDeadMedic undid the changes but still the mistake follow
    – diegoxfs
    May 12, 2015 at 18:15
  • Backup your .htaccess in the root of your WordPress installation, then delete it. If it fixes things, log into WordPress and re-save your permalink settings. If the directory is not writable, WordPress will instruct you what to put in the .htaccess file and re-upload. May 12, 2015 at 18:26
  • when a try to enter on wp-admin this (500) error appear
    – diegoxfs
    May 12, 2015 at 18:41

1 Answer 1


I changed a few files with the header and footer and then this error appearing...

Bad character encoding is a very typical cause of 500 server errors.

What text editor did you use to edit the files? Are you using the correct text encoding in the files, i.e. Unicode for a linux server?

If the text encoding is OK and you're still getting the out of memory error, and that line define('WP_MEMORY_LIMIT', '64M'); doesn't help, ask your webhost; they will need to increase memory for you.

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.