404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 

i have move my store from one server to another server after that home page is opening and when i click on any link i am getting below error

Not Found

The requested URL /dental-chairs.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

error.JPG

Re: 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

It seems like URL_Rewrite is not enabled or not working.
First thing you should do to check is placing ‘index.php’ in the URL like this  index.php/dental-chairs.html. If it works like this it means you just need to focus on rewrite.
After this, please check the database table ‘core_config_data’ and search for the path ‘web/seo/use_rewrites’, it’s value should be 1.
Now you need to check the following things:

  • Server has rewrite mod working or not.
  • .htaccess (if you are using apache) has the following:

<IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
    RewriteRule .* - [L,R=405]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule .* index.php [L]
</IfModule>

If this helps you then please give us kudos and select as solution.

Please follow and like us:
Pin Share

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

RSS
Follow by Email
WP Radio
WP Radio
OFFLINE LIVE