Migrating to server with nginx
Permalink
We migrated our website to a new server with nginx and have problems with urls, for example, shows 404 error in the search results.
We are sure that is configuration or rewrite rules problem.
Have experience with this type of migration that can help us?
We are sure that is configuration or rewrite rules problem.
Have experience with this type of migration that can help us?
Try to check the pretty url.
Hi
We have turned on
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
It that correct?
We have turned on
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
It that correct?
Try to off it and clear your cache to check if the problem exists.
Rony
Rony
WeWe uninstalled the nginx and working properly. thanks