how to change error loading pages

Whenever a link doesn’t work on my site it shows the error 404 in which the hosting name is clearly shown
Which can be easily seen by my visitors
I don’t want to show them my hosting so how can I change the error pages

Go into “Control Panel” scroll down and look for “Error Pages” click on it. Then select the right domain and press “Alter ErrorPages” then paste in links/urls to your custom error screens.

Hope this helped :slight_smile:

1 Like

but should I remove inifinityfree

@download said:
but should I remove inifinityfree

That’s up to you, but honestly i left all the error pages on my website default.

I am putting url as http://solutiongeek.in/Error/error404.html
But it is showing: The domain name entered http://https://infinityfree.net/errors/401 for 401 status code appears to be invalid 1 The domain name entered http://https://infinityfree.net/errors/401 for 401 status code appears to be invalid 3

The simplest way is to edit .httaccess file inside of your htdocs folder

my example

# error redirect
ErrorDocument 400 https://oxydac.cf/400.htm
ErrorDocument 401 https://oxydac.cf/401.htm
ErrorDocument 403 https://oxydac.cf/403.htm
ErrorDocument 404 https://oxydac.cf/404.htm
ErrorDocument 503 https://oxydac.cf/503.htm

Of course, the error pages with the same names must exist

2 Likes

thanks oxy dac

yw

make sure that the address of these pages is absolute (start with http/s)
and not relative

because if is relative…
when someone comes to the subfolder of the subfolder and ask something that does not exist or does not have permission it will appear infinityfree error pages not your custom

I can help you to create your own custom responsive “404 not found” error page simply follow my instructions here:
https://forum.infinityfree.com/discussion/3306/i-will-help-those-who-want-a-custom-404-not-found-error-page#latest