On ny site, i have made a custom 404 page and have edited .htaccess as well as cpanel. But it redirects me to a rather nasty page.
for example type
https://bluewinds.rf.gd/random
My 404 is very nice but it doesn’t show up.
I have put htaccess in bluewinds.rf.gd/htdocs.
The surprising thing is when i manually check my error page
https:// bluewinds.rf.gd/errors/404.html
It isn’t mine but a poorly built 404 page.
This is my htaccess code:
##################################################
DO NOT EDIT THIS FILE
Create a new .htaccess file in your htdocs
directory (or example. com/htdocs/ directory)
to add your own rules or override these rules.
##################################################
DirectoryIndex index.php index.html index.htm index2.html
ErrorDocument 400 https ://oxydac.cf/400.htm
ErrorDocument 401 https ://oxydac.cf/401.htm
ErrorDocument 403 https: //bluewinds .rf.gd/errors/403.html
ErrorDocument 404 https: //bluewinds .rf.gd/errors/404.html
ErrorDocument 503 https:/ /oxydac.cf/503.htm
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:CF-Visitor} !{“scheme”:“https”}
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]