Canonical permalink URLs for posts
|Reported by:||f00f||Owned by:|
|Component:||Front-end||Keywords:||post canonical url has-patch permalink|
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.
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.