Hello Shahriar,
I would like to suggest you have a look at the server logs.
There are some reasons for getting 500 internal server errors. like,
- A permissions error
- Faults in third party themes or plugins
- Your php memory limits exceeded
- Broken or corrupted. htaccess file
You can try some methods as below.
The permissions error with a file or folder on the server can be responsible for 500 internal server errors. There are some recommendations for permissions when it comes to a file or folder permissions in WordPress (if the site is built on wordpress)
You can see your file permissions with the FTP client.
Some third-party plugins or themes, add-ons, or newly activated softwares might be causing this issue. you can determine this by deactivating or uninstalling these.
If you have a wordpress website, go to plugins then go to installed plugins. and deactivate the first plugin. if the error resolves, then it was causing it.
Make sure your php setup is configured correctly, It might be related to php timeout. create timeout rules or error handling in the script to resolve the issue. because wrong permissions on a file that uses a script, like php or CGI script. will not allow a script to run. so check those permissions and ensure you have set them properly and correctly on your server.
You need to check the code for your site’s .htaccess file which will help to manage how long resources should be stored in the browser's cache. and you can try to edit the file to fix this error.
This file will be mostly located in the public.html directory. The server will hide this file from view by default.
Make sure your new software is installed properly and correctly.
But, from that screenshot that you have shared, it sounds like you are getting a 404 error. there are also some reasons for it to get a 404 error. like,
- Mis typing URL
- a page is removed.
- a page’s directory is removed.
- Moving a whole site
- Not adding 301 redirects.
To solve this issue, you can do some things. your request found a 404 error in the server.
or default document root is not set properly.
you should verify and the rewrite rules in the .htaccess file.