[wp-trac] [WordPress Trac] #21765: Redirect to canonical URL if URL has 'preview' parameter with any nonempty value and user not log in
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 1 13:18:44 UTC 2012
#21765: Redirect to canonical URL if URL has 'preview' parameter with any nonempty
value and user not log in
---------------------------+-----------------------------
Reporter: egorpromo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 3.4.1
Severity: normal | Keywords:
---------------------------+-----------------------------
if any URL has nonempty GET-parameter 'preview' that there is
noredirection to canonical URL.
If we have
http://example.com?p={post_id}&post_type={post_slug}&preview=true there is
no redirection to correct URL like
http://example.com?{post_type}={post_slug} or like
http://example.com/{post_type}/{post_slug} (if site has permalinks). This
is bad for SEO and bad user experience. If user not log in there must be
redirecttion.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21765>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list