WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#5119 closed enhancement (worksforme)

could we enforce redirects on permalink structure changes?

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3
Component: General Keywords:
Focuses: Cc:

Description

if someone uses the date & named based structure, and then decide to switch to the archives/%post_id% structure, he gets tons of 404 on his sites. the permalink redirect plugin on which the canonical redirect code is based had an option to configure an old permalink structure. ideally, this would be tracked as the permalink structures are changed instead.

Change History (4)

comment:1 Viper007Bond7 years ago

  • Type changed from defect to enhancement

comment:2 foolswisdom7 years ago

  • Milestone changed from 2.3.1 to 2.5

comment:3 ninjaWR5 years ago

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

works for me on r9840, guess it got done along the way

127.0.0.1 - - [21/Nov/2008:23:44:28 -0500] "GET /2008/11/4449-test/ HTTP/1.1" 301 -
127.0.0.1 - - [21/Nov/2008:23:44:28 -0500] "GET /archives/18 HTTP/1.1" 200 5124

comment:4 ninjaWR5 years ago

  • Milestone 2.9 deleted
Note: See TracTickets for help on using tickets.