Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#29599 closed defect (bug) (duplicate)

Use of WP_Query's nopaging parameter and duplicate content

Reported by: henry.wright Owned by:
Priority: normal Milestone:
Component: Canonical Version: 4.0
Severity: normal Keywords:
Cc: Focuses:

Description

If I display all posts on a particular page by disabling pagination...

$query = new WP_Query( 'nopaging=true' )

...paged URLs remain 'viewable'. For example, each of the following URLs displays the exact same content:

  • example.com/page-name/page/2/
  • example.com/page-name/page/3/
  • example.com/page-name/page/4/
  • example.com/page-name/page/5/
  • example.com/page-name/page/6/

... and so on.

Change History (1)

#1 @SergeyBiryukov
12 years ago

  • Component GeneralCanonical
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Duplicate of #28081.

Note: See TracTickets for help on using tickets.