Am I doing something wrong or is this a bug? It means I can’t make any routing changes as it rewrites the .htaccess file. Fortunately I have the git backup!
I would be amazed if I’m the only person who’s experienced this and it’s forced me to halt on a project because as soon as I touch the routing I end up with a broken site. I keep having to replace the .htaccess file with the backup.
Is this a SPA site or are these regular full PHP pages?
What happens if you simply reselect your php page in the Url option? Have you run the project updater so that all new files are copied to the project?
It’s not a SPA, it’s a regular site with full PHP pages. The routing is there for friendly URLs.
I have now switched off the experimental feature and if I edit the route it does correctly store it so the .php is there. I have a lot of routes so I’m guessing I need to go through and reset them all?
I may be able to roll back to a previous version from git.
So I know, if I enable the experimental feature for routing but continue with projects which used the old method, will they break? Will I need to update them all to the new method or switch the option off?
I’m hoping the option can be there so it’s available if/when wanted but doesn’t impact anything if it’s ignored.