Skip to:

Opened 8 years ago

Closed 7 years ago

Last modified 6 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 8 years ago.

Download all attachments as: .zip

Change History (9)

8 years ago

#1 @Gautam Gupta
8 years ago

  • Milestone changed from 1.0.3 to 1.1

#2 @kevinjohngallagher
8 years ago

  • Milestone changed from 1.1 to 1.5

#3 @mr_pelle
7 years ago

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

#4 @kevinjohngallagher
7 years ago

  • Milestone changed from Future Release to 1.1

#5 @GautamGupta
7 years ago

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

#6 @GautamGupta
7 years ago

  • Milestone changed from 1.1 to Future Release

#7 @johnjamesjacoby
7 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.

#8 @johnjamesjacoby
6 years ago

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