Hi guys - just moved over from Bubble and been having a play about with Wappler over the last few days. Very impressed with everything so far, and I’m finding it a lot more flexible than Bubble.
I have read through the routing documentation, but I’m hitting a blank here. First off I’ve set up my routing as per the first screenshot
.
I think everything is looking okay here, which produces the following .htaccess file.
Form the off, I’m getting 404 errors when trying to load any page. I’ve edited the .htaccess file to include a / in front of the php filename, which is solving the issues to a degree, but this only works when its not nested e.g. /customer-management works, but not /manager/customer-mangagement - in this case with the /*.php all I’m getting is a redirect to /manager.
Thanks for taking the time to read through - and any advice would be greatly appreciated.
ok, when you are loading the page, how are you access the page? Are you going through a link that you have inserted on a page or are you accessing it directly by typing in the routing url?
For example in your image, you have /manager/customer-management, did you type in example.xyz/manager/customer-management/
ok, everything looks good, so now we can look at the actual error being received. Please open the custman.php page and look at the code, make sure there is a base reference towards the top.
Please visit the page directly using example.xyz/manager/customer-management and see what happens.
@scott I’m testing remotely, deleted both .htaccess which has removed the erroneous line. Checked the new .htaccess with the single above rule, its there, but its still directing to my manager.php page.