permalinks and posts per page

Flimgoblin

It's my birthday today!
Joined
Dec 24, 2003
Messages
8,324
there's a nice little "permalink" link on the right hand side of every post in a thread - next to the view individual post one. (which on my freddys green skin is #1 (permalink) in the top right corner of each post)

The #1 one works fine - the permalink one doesn't always.

It only works if whoever you give the link to has the same number of posts per page, if like me you set it to the max and send that link to someone with the default they'll end up on a different page with no anchor found.

e.g. https://forums.freddyshouse.com/warhammer-308/199467-race-3.html#post3222359

Will only link you to this post:
https://forums.freddyshouse.com/3222359-post118.html

like it's meant to if you have the same number of posts per page as me.

Can that (permalink) link be changed to the same as the #118 link? (i.e. to a "view individual post" rather than an anchor). It means you lose the link to the middle of the thread but it stops there being any page problems.
 

GReaper

Part of the furniture
Joined
Dec 22, 2003
Messages
1,984
The best way to link to a post is with the POST tag, like [post=221529]this[/post]! So, when I link to [post=3222359]svartalfs post[/post], it should link to the correct one, right?

The permalink URL needs formatting like the POST tag, it automatically does a HTTP redirect to the relevant page.
 

Users who are viewing this thread

Top Bottom