Opened 9 months ago
Last modified 9 months ago
#21765 new enhancement
Redirect to canonical URL if URL has 'preview' parameter with any nonempty value and user not log in
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Canonical | Version: | 3.4.1 |
| Severity: | normal | Keywords: | |
| 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 (1)
comment:1
SergeyBiryukov — 9 months ago
- Component changed from Rewrite Rules to Canonical
Note: See
TracTickets for help on using
tickets.

Related: #20496