In localhost Router Mode, going to http://localhost:10001/wp-admin redirects without the correct port to a 404 at http://localhost/wp-admin, but if I include a trailing slash (http://localhost:10001/wp-admin/), it correctly forwards to http://localhost:10001/wp-login.php and retains the port. Why does the port get dropped in the first case and how can I fix this?
- Does this happen for all sites in Local, or just one in particular?
Create a brand new Wordpress site in Local WP using localhost Router Mode. Open the site (http://localhost:whateverport). Now try adding just “wp-admin” to the end of the URL (instead of “wp-admin/” with a trailing slash).
Which version of Local is being used?
What Operating System (OS) and OS version is being used?
Windows 10 Pro and Windows 11 Pro