Opened 10 months ago
Last modified 3 months ago
#57525 new defect (bug)
Twenty Twenty-Three: Incorrect home link
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.1 |
Component: | Bundled Theme | Keywords: | needs-testing |
Focuses: | performance | Cc: |
Description
I've noticed that Twenty Twenty-Three Theme does not add a trailing / onto the Home page link when used in a sub-directory. Could also be happening in a top level situation although I've not tested.
example.com/test -instead of- example.com/test/
This cause a 301 redirect and slows down page load.
Not a big deal but then again, the fix is quick and easy.
Change History (5)
#3
@
9 months ago
<p class="wp-block-site-title"><a href="https://domain.com/wp" target="_self" rel="home" aria-current="page">Domain Website</a></p>
Yes, this link could be considered as WordPress Address (URL) or Site Address (URL) as found in General Settings. This is the only such link being used in the header. Not using tagline or logo.
And now that I'm also seeing target="_self" I have to wonder why that would be needed? URL busting?
#4
@
9 months ago
Have now confirmed same situation when top-level dir. is used.
<p class="wp-block-site-title"><a href="https://domain.com" target="_self" rel="home" aria-current="page">domain.com</a></p>
Hi! Thank you for the report.
Are you able to add more details about how to reproduce this issue?
I am unsure of if by "home page link" you mean the link in the WordPress admin > General settings WordPress Address (URL) or Site Address (URL), or if you meant a link used in one of the blocks?
Like the site title, custom logo, or the navigation block Home link inner block?