Routes not working for me it keeps redirecting to the index page

I added Routes to my project I have a dashboard.php page and created a /dashboard route but every time I test it just loads the index page https://testdomain.mq/dashboard it should load the dashboard page but nada just the home page gets loaded the URL stays as it looks here on the post.

Hosting Type: Custom Hosting (using vagrant as I use on all my Laravel, Drupal and WP projects)
Server Model: PHP
Use route enabled
Auto add base: enabled
Handler Apache

Route properties:

Name: dashboard
Path: /dashboard
URL: /dashboard.php
Method: all
Sensitive: Unchecked
Strict: Unchecked

Dashboard.php setting:

Any suggestions on what I have wrong, I know my vagrant servers apache htaccess works on all my other projects none Wappler?

Hi.
Can you check if you have security provider enforcer enabled?
Also, once you have setup the rout, check the dashboard page code view… It should have a meta tag with same route detail.
If not, just saving the page updated this value.

1 Like

Thanks, Sid got it working, had to add restart my vagrant and enforce apache over Nginx