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.
@sekhar_nMake sure you have done at least following things:
1. Make sure both server has same configurations: PHP, MYSQL, Apache/Nginx setting, Magento permissions.
2. Post migration your code do run indexing, clear cache, deploy static content and compile the code.
Let know if this does not resolve your issue.
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:
<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.