Opened 12 years ago
Closed 12 years ago
#21464 closed defect (bug) (duplicate)
duplicate content and pagination without <!--nextpage-->
Reported by: | toddlahman | Owned by: | Todd Lahman |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4.1 |
Component: | Canonical | Keywords: | needs-patch |
Focuses: | Cc: |
Description
Duplicate pages are generated automatically even when <!--nextpage--> is not used for a post. For example http://www.toddlahman.com/spam-free-wordpress/ only has a single page. It is not paginated. However, if I appended a page number such as http://www.toddlahman.com/spam-free-wordpress/2/ or http://www.toddlahman.com/spam-free-wordpress/3/, etc., a page is presented to the visitor along with a rel="canonical" href="http://www.toddlahman.com/spam-free-wordpress/2/" tag for the page that does not exist. Further it also presents duplicate meta descriptions.
If the page is not paginated WordPress should automatically 301 redirect the visitor back to the parent post or page to avoid duplicate content issues with the search engines.
#21278