[wp-meta] [Making WordPress.org] #4150: canonical on homepage
Making WordPress.org
noreply at wordpress.org
Tue Feb 5 20:29:42 UTC 2019
#4150: canonical on homepage
-----------------------------+---------------------
Reporter: joostdevalk | Owner: (none)
Type: defect | Status: new
Priority: highest omg bbq | Milestone:
Component: General | Resolution:
Keywords: |
-----------------------------+---------------------
Comment (by Otto42):
The homepage, when retrieved with just https://wordpress.org, is actually
a static page. The canonical there is hardcoded.
When URL parameters are passed to it, the static version is bypassed and
the underlying WordPress instance is run, so what you're getting there is
actually the homepage as generated by WordPress, using the wporg-main
theme. It's largely the same, as you can see, except it's translatable,
for rosetta sites which use it.
WordPress itself doesn't do canonical for front-page's, so, there's no
code in there to do that. We could add that to the theme, but we would
also need to make it aware of when the theme is running on other domains.
We probably don't want nl.wordpress.org to have a canonical pointing back
at wordpress.org, I expect.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4150#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list