how to change error loading pages


#1

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


#2

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:


#3

but should I remove inifinityfree


#4

@download said:
but should I remove inifinityfree

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


#5

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


#6

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

my example

# error redirect
ErrorDocument 400 http://oxydac.freecluster.eu/400.htm
ErrorDocument 401 http://oxydac.freecluster.eu/401.htm
ErrorDocument 403 http://oxydac.freecluster.eu/403.htm
ErrorDocument 404 http://oxydac.freecluster.eu/404.htm
ErrorDocument 503 http://oxydac.freecluster.eu/503.htm

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


#7

thanks oxy dac


#8

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


#9

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


#10