Skip to:

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#1207 closed enhancement (wontfix)

Canonical permalink URLs for posts

Reported by: f00f Owned by:
Milestone: 1.1 Priority: normal
Severity: normal Version:
Component: Front-end Keywords: post canonical url has-patch permalink


Problem description:
1) Someone links to post nr. 632 in your forums. The link will point to e.g.
2) Now you change the number of posts per page. Chances are good that the link is broken.

Add canonical URLs for posts, like this:
post.php has access to your bbpress settings and can easily calculate the correct page. Then, it redirects to the correct page.
Of course, these links can get pretty permalinks, too.
E.g.: /post/your-topic/632
Or maybe even (for bw compat.)
This way even the topic slug is maintained in the link URL.

I have attached a post.php file which accomplishes the task.

Attachments (1)

post.php (983 bytes) - added by f00f 6 years ago.

Download all attachments as: .zip

Change History (9)

@f00f6 years ago

comment:1 @Gautam Gupta6 years ago

  • Milestone changed from 1.0.3 to 1.1

comment:2 @kevinjohngallagher6 years ago

  • Milestone changed from 1.1 to 1.5

comment:3 @mr_pelle5 years ago

See Zaerl Post Permalink (if link does not work, click here).

comment:4 @kevinjohngallagher5 years ago

  • Milestone changed from Future Release to 1.1

comment:5 @GautamGupta5 years ago

As there is already a plugin for this, it should wait and we should instead get the bugs fixed.

comment:6 @GautamGupta5 years ago

  • Milestone changed from 1.1 to Future Release

comment:7 @johnjamesjacoby5 years ago

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

Since there's a plugin for this, and since the bbPress plugin for WordPress will inherit this automatically, I'm closing as wontfix.

comment:8 @johnjamesjacoby4 years ago

  • Milestone changed from Future Release to 1.1
  • Version 1.0.2 deleted
Note: See TracTickets for help on using tickets.