All of my error pages link keep giving me an Error 500

Website URL

mindaman.com

Error Message

Error 500: Internal Server Error

Other Information

I recently was editing and testing my error pages and all of them started to redirect to Infinity Free’s default Error 500 Page. I figured out how to set the Error 500 back to my website by using https://mindaman.com/server-error but the mindaman .com/not-found (the catch that should work from context of the “server error page”) or mindaman. com/error/not-found (The error page redirect) do not redirect to their respective pages and all of my error pages keep referring to Error 500 pages. Also, when I tried editing my error pages through the control panel, it told me:

Forbidden
You don’t have permission to access /panel/indexpl.php on this server

Please help!

If you are being redirected to our error 500 page, it usually means that there is an error in your .htaccess code. As I understand, specific settings you applied cause this to happen? If so, can you share the exact lines of code that triggered the error page?

Yes, the error pages in the control panel don’t work well. Try the client area version, it’s much better.

8 Likes

Which .htaccess do you want?

The one in the htdocs folder of your site that’s having the issue.

5 Likes
<IfModule pagespeed_module>
	ModPagespeed off
</IfModule>
<IfModule mod_expires.c>
	ExpiresActive On
	ExpiresDefault A0
	ExpiresByType image/gif A691200
	ExpiresByType image/png A691200
	ExpiresByType image/jpeg A691200
	ExpiresByType text/css A691200
	ExpiresByType text/javascript A691200
	ExpiresByType application/javascript A691200
	ExpiresByType font/otf A691200
	ExpiresByType font/ttf A691200
	ExpiresByType font/woff A691200
	ExpiresByType font/woff2 A691200
</IfModule>
<FilesMatch "^(web.config)$">
	<IfModule mod_authz_core.c>
		Require all denied
	</IfModule>
	<IfModule !mod_authz_core.c>
		Order allow,deny
	</IfModule>
</FilesMatch>
<IfModule mod_negotiation.c>
	#Options -MultiViews
</IfModule>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
RewriteCond %{HTTP:X-Server-Addr} ^(.*)
RewriteRule .* - [e=HTTP_X_SERVER_ADDR:%1]
RewriteRule ^.well-known/.+ - [L]
DirectoryIndex index.html index.php index.cgi
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_URI} ^/(js/(main.js|bootstrap.min.js)|css/([0-9a-f]+.css|common.css|site.css|bootstrap.min.css)|sitemap.xml)$
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ sitepro/$1 [L,QSA]
#### PERSISTENT CONTENT ####
Redirect 301 /sociallinks https://mindaman.com/social
Redirect 301 /directory https://mindaman.com/dir
Redirect 301 /projects/brickbot/install https://bit.ly/brickbot-install
Redirect 302 /illuminate https://mindaman.com/projects/illuminate
Redirect 301 /merch https://shop.mindaman.com
Redirect 301 /shop https://shop.mindaman.com
Redirect 301 /error https://mindaman.com
ErrorDocument 400 https://mindaman.com/error/bad-request
ErrorDocument 500 https://mindaman.com/error/server-error
ErrorDocument 404 https://mindaman.com/error/not-found
ErrorDocument 401 https://mindaman.com/error/unauthorized
ErrorDocument 403 https://mindaman.com/error/forbidden
ErrorDocument 503 https://mindaman.com/error/unavailable
Redirect 301 /sfx https://mindaman.com/commands/sfx
Redirect 301 /mindamanbot https://mindaman.com/projects/mindamanbot
Redirect 301 /pronounce https://mindaman.com/pronunciation

What’s wrong with just setting the error pages to something like mindaman.com/not-found instead of mindaman.com/error/not-found in conjuction with a redirection?

4 Likes

Are you using Site.Pro on your website? The .htaccess code suggests that it is, but the actual HTML code doesn’t look like it.

Everything above the PERSISTENT CONTENT looks like Site.Pro code. If you’re not using Site.Pro code you should remove it (so that’s the PERSISTENT CONTENT line and everything above it), because it can cause unexpected behavior and conflicts with your own rules, while not doing anything useful.

7 Likes

I might have accidentally opened it at one point. I’ll try removing that.

Edit: This worked!

1 Like