500 Internal server error

Username (e.g. epiz_XXX) or Website URL

brekout.ml

Error Message

All pages of my website (except homepage) are giving 500 internal server error

Other Information

After searching on the internet for hours, I found a solution which says resetting permalinks in my wordpress admin pannel would solve the problem, but even its not working for me. Can anyone tell me a working solution that solves my problem/

You should read

1 Like

but I don’t know what to write in .htaccess rule

  1. Please share the code in your .htaccess files.

  2. Let us know if you have any PHP files on the server.

Thanks

This is the code in my .htaccess file:
# BEGIN Wordpress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /home/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home/index.php [L]

END Wordpress

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

and these are the files in htdocs folder(refer images)



Change

to

RewriteRule . /index.php [L]

2 Likes

I did as you said but then for sometime my website is visible but now again it’s showing error 404

Here is the code in my ,htaccess file(after making changes mentioned by you):

    # BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ./index.php [L]
</IfModule>

# END WordPress

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Change

to

RewriteBase /

2 Likes

I can see redirect to brekout.ml/home. Make sure all links are valid.

Clear CloudFlare cache followed by browser cache.

How can I completely remove these home(brekout.ml/home) redirects from my website

Clear CloudFlare cache then browser cache

1 Like

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