500 Internal Server Error Oops, something broke when loading the page you requested! This is usually caused by things like bad .htaccess lines

HI there,
I’m unable to open my web its on free hosting it gives me this error “500 Internal Server Error
Oops, something broke when loading the page you requested! This is usually caused by things like bad .htaccess lines.”
Can any one assist me

Thanks

Site url?

3 Likes

Rename your .htaccess file to anything and see if you get the same message. If you don’t, then the .htaccess code is wrong.

If that’s the case, you can disable parts of your .htaccess file and refresh the page to check for the message to identify which lines are causing the problem. A binary search can make this quite fast.

Or, if you’re using off the shelf software, maybe try getting a fresh copy of the .htaccess file and replace your own file with that one.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.