Wrong 404 page displayed

Website URL

https://deafinoneeye.com

The 404 page currently shows https://errors.infinityfree.net/errors/404/ instead of the one in my (WP) site template.

Please let me know how to restore the correct 404 page.

Thanks in advance,

e.

You might need to set up custom permalinks so that WordPress also handles the HTTP errors for you as well; you can do that from your WordPress website settings or, if the WordPress website can’t create the .htaccess file needed for the permalinks to work because of some unknown reason, you might need to create it on your htdocs folder for your domain and add this on it:

# BEGIN WordPress

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]

# END WordPress
3 Likes

Thanks @JxstErg1, I think I can drive a htaccess.

:slight_smile:

1 Like

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