¡Hola, amigos! I’m Señor FAQ, the mustached maestro of questions and answers! With my trusty glasses and a book of endless wisdom, I turn dudas into solutions. Soy el héroe de los curiosos and the champion of clarity.
To ensure JScms works correctly with Nginx and provides SEO-friendly URLs, rewrite rules must be configured. These rules route requests to the correct files and handle custom error pages.
The rewrite rules must be added to your Nginx server configuration file. There are two locations to configure:
/admin/
directory for the administrator panel.Add the following configuration inside your Nginx server block:
location / {
try_files $uri $uri/ /index.php?$args;
}
location /admin/ {
try_files $uri $uri/ /admin/index.php?$args;
}
index.php
with query string parameters.sudo systemctl reload nginx
.