Login Success redirect to route not working

PHP project is in my public_html folder of my home directory. Project settings > Targets has the web server url set correctly to http://localhost/~username/projectfolder. Under general it will not put the folder I choose for webroot folder. I keep click it and select the correct folder but the field doens’t change. Development environment is set to own server, php server model.

I have a route for / set to /index.php. I have two other routes set for /login to /login.php and /register to /register.php. Both /login and /register work.

My success event for login is redirecting to / but that is redirecting to the server root of http://localhost, not http://localhost/~username/projectfolder. What have I done wrong?

Community Page
Last updated: