[wp-trac] [WordPress Trac] #50100: Native domain mapping does not handle both WWW and non-WWW versions of a domain - both should work
WordPress Trac
noreply at wordpress.org
Wed May 6 10:30:07 UTC 2020
#50100: Native domain mapping does not handle both WWW and non-WWW versions of a
domain - both should work
--------------------------------+------------------------------
Reporter: jodamo5 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 5.4.1
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------------+------------------------------
Comment (by jonoaldersonwp):
From an SEO perspective, redirecting to the mapped domain (via a 301 HTTP
header) is definitely the preferred behaviour. We can't really claim to be
"SEO friendly" with such a rudimentary omission as URL/domain
consolidation.
However, I suggest that we wrap this into
https://developer.wordpress.org/reference/functions/redirect_canonical/ to
avoid being greedy in (edge) cases where ''not'' redirecting is the
preferred behaviour.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50100#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list