Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#11991 closed defect (bug) (fixed)

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

Reported by: viper007bond's profile Viper007Bond Owned by: ryan's profile 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)

#1 @dd32
15 years ago

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

#2 @dd32
15 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

#3 @dd32
15 years ago

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