Removed index.php now all pages with Internal Server Error

I just found the answer. Firstly, I look out for an apache error log in /var/log/apache2, on the file error.log.1 I found these last lines: [Sun May 26 22:46:23.694952 2019] [core:alert] [pid 8436] [client ::1:52840] /var/www/html/site2.localhost/public_html/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://site2.localhost/wp-admin/edit.php?post_type=page [Mon … Read more

500 Error, Get custom field and returning it

500 error or internal server error is probably caused by a PHP error. By enabling WordPress debug, you’ll easily find where the problem is. You can follow the instructions here https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log From your code, it’s easy, you’re missing a semi-column before the closing curly bracket.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)