Wappler Version : 4.5.0
Operating System : Windows 11
Server Model: PHP
Database Type:
Hosting Type: Apache
File routes.json have this info:
{
"routes": [
{
"path": "/",
"url": "/app/vistas/admin/contenedor.php",
"name": "admin-dashboard",
"routes": [
{
"type": "page",
"path": "/admin/dashboard",
"id": "dashboard",
"url": "_dashboard.php"
},
{
"type": "page",
"path": "/modificar-usuarios",
"id": "admin_modificar_usuarios",
"url": "_adm_modificar_usuarios.php",
"exact": "true"
}
]
}
]
}
But when it creates .htaccess file, save this:
## Wappler routing
RewriteEngine On
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/?(?:/)?$ app/vistas/admin/contenedor.php [QSA,NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/?admin/dashboard(?:/)?$ app/vistas/admin/contenedor.php [QSA,NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/?modificar-usuarios(?:/)?$ app/vistas/admin/contenedor.php [QSA,NC,L]
## End Wappler routing
I can’t get it work any routing, this occurr after delete all routing from Routing Manager because the migration to a new panel with new routes, etc, etc.
I have try to restart wappler after remove all routing, even, updating new wappler version 4.5.0.
I tought that routes.json creates the .htaccess file, but now I’m not sure due to the new created htaccess file.
Or I’m doing something wrong.
Thanks in advance.
Community Page
Last updated:
Last updated: