WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#11991 closed defect (bug) (fixed)

When using a static homepage, the two pages don't properly redirect

Reported by: Viper007Bond Owned by: ryan
Milestone: 3.0 Priority: normal
Severity: minor Version: 3.0
Component: Permalinks Keywords: needs-patch
Focuses: Cc:

Description

Create two Pages, "Page A" and "Page B". At Settings -> Reading, set A to be your homepage and B to show your latest posts.

Visit http://yourblog.com/?page_id=123 where 123 is the ID of A. It will not redirect anywhere. It should redirect to http://yourblog.com/ ideally. http://yourblog.com/page-a/ should also redirect there.

Visit http://yourblog.com/?page_id=456 where 456 is the ID of B. It will not redirect anywhere. It should redirect to http://yourblog.com/page-b/ ideally.

Change History (3)

comment:1 dd324 years ago

(In [12979]) Redirect home_url variants to home_url(). See #11991

comment:2 dd324 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12980]) Redirect ?page_id=xx for the Posts page to the posts page. Fixes #11991

comment:3 dd324 years ago

  • Milestone changed from Future Release to 3.0
Note: See TracTickets for help on using tickets.