[wp-trac] [WordPress Trac] #33581: Use history.replaceState instead of 301 redirects for canonical urls
WordPress Trac
noreply at wordpress.org
Fri Aug 28 06:00:50 UTC 2015
#33581: Use history.replaceState instead of 301 redirects for canonical urls
-------------------------------------+-----------------------------
Reporter: peterwilsoncc | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Canonical | Version:
Severity: normal | Keywords:
Focuses: javascript, performance |
-------------------------------------+-----------------------------
Currently `redirect_canonical` uses a 301 redirect sending a user from an
ugly permalink to a pretty one.
Replacing with a JavaScript `history.replaceState` call will reduce time-
to-content and lower the server load. The canonical meta tag will keep the
ugly URLs out of the big three search engines.
Canonical URLs and paginated posts.
I'd like some SEO feedback on whether search engines respect the canonical
meta tag pointing all pages of a paginated posts to the first page of the
post. Google's documentation is that it takes the meta tag as a hint
rather than a direction.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33581>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list