Site title block links to wrong home url causing a useless redirect #65670
Labels
[Block] Site Title
Affects the Site Title Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When WordPress is installed in a subfolder, the home url is let say
https://mysite.com/wordpress/
with a trailing slash. However the site title block links tohttps://mysite.com/wordpress
without trailing slash which is then redirected to the canonical urlhttps://mysite.com/wordpress/
.The same kind of issue occurs for multisite where sites are installed in folders.
Step-by-step reproduction instructions
https://mysite.com/wordpress
https://mysite.com/wordpress
tohttps://mysite.com/wordpress/
Screenshots, screen recording, code snippet
No response
Environment info
WP 6.6 + Twenty Twenty Four
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: