Make WordPress Core

Opened 13 years ago

Closed 10 years ago

#21765 closed enhancement (wontfix)

Redirect to canonical URL if URL has 'preview' parameter with any nonempty value and user not log in

Reported by: egorpromo's profile egorpromo Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4.1
Component: Canonical Keywords: close
Focuses: Cc:

Description

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.

Change History (4)

#1 @SergeyBiryukov
13 years ago

  • Component changed from Rewrite Rules to Canonical

Related: #20496

#2 follow-up: @joostdevalk
12 years ago

  • Keywords close added

I think that if the patch currently attached to #20496 goes in, the most important bit for this would be fixed, and we'd probably resolve the remainder as won't fix since we don't really redirect out parameters *anywhere*.... Agreed?

#3 in reply to: ↑ 2 @egorpromo
12 years ago

Replying to joostdevalk:

I think that if the patch currently attached to #20496 goes in, the most important bit for this would be fixed, and we'd probably resolve the remainder as won't fix since we don't really redirect out parameters *anywhere*.... Agreed?

If you are asking me that I could say I just draw attention to the problem. It could be good if wordpress will have strong canonical component.

#4 @wonderboymusic
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

#20496 is in, wontfix as per @joostdevalk in comment:2

Note: See TracTickets for help on using tickets.