Opened 20 years ago
Closed 19 years ago
#1508 closed defect (bug) (worksforme)
permalink clash postname and post_id
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 1.5.1.2 |
| Component: | General | Keywords: | dev-feedback 2nd-opinion |
| Focuses: | Cc: |
Description
When %postname% and %post_id% are defined in the permalink url, content fails to show up on the permalinked page. They refuse to work together.
Change History (5)
#1
@
20 years ago
- Keywords bg|dev-feedback bg|2nd-opinion added
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
#2
@
20 years ago
We might have to just list what rewrite structures we're going to accept and which ones we won't (or can't, without making the code extremely complex.)
Reminder to self: create checkboxes of common, supported rewrite structures on Options => Permalinks and call the user-supplied permalink structure box "Custom (Advanced User s Only)" with a link to a Codex page discussing which structures will work and which won't.
#3
@
20 years ago
Okay, Matt checked in a change that lists two commonly used permalink schemes (as bullets).
Next: create codex page discussing which permalink structures work, and which ones don't.
Verified in WordPress 1.6
/%postname%/%post_id%/ doesn't work, but /%post_id%/%postname%/ does.
This likely has to do with the fact that a post like /post-name/11/ looks like the 11th page of /post-name/