How do I link to a specific post on a webpage rather than the general link to the web address?
Linking to SPECIFIC posts on THIS forum
Started by
Xx7
, Jun 16 2012 06:33 PM
2 replies to this topic
#1
Posted 16 June 2012 - 06:33 PM
#2
Posted 17 June 2012 - 09:38 AM
Above each post is this...
Post subject: Linking to SPECIFIC posts on THIS forum ------------------- SPACE -------------------
Posted: Sat, Jun 16, 2012 --- 6/16/12 2:33:41pm
...the per-post subject is a link to that post, which uses a URL like this...
http://www.autohotkey.com/community/viewtopic.php?f=1&t=87689#p544122
...the 544122 is the "post number" of your post. However, Note: with a link like this, if a post is moved to a different topic (or different page, in the same topic), this type of link will break/stop working.
The icon next to Posted:, which is either
or
...depending on if you've read that post or not, is ALSO a link, but (for some strange reason) it uses a different URL...
http://www.autohotkey.com/community/viewtopic.php?p=544122#p544122
...again, the 544122 is the post number. It's included twice, cuz phpBB looks up the post number after p= & the browser scrolls to #p544122 once that page loads. Since this type of link includes p=, phpBB will find the post, even if it gets moved.
It takes more effort, but I prefer to link with URLs like this...
http://www.autohotkey.com/community/viewtopic.php?f=1&t=87689&p=544122#p544122
...so it shows the topic number in the link/URL (&, as above, since this type of link includes p=, phpBB will find the post, even if it gets moved).
I also prefer to link with the Subject of the destination post as the text of the link (instead of a bare URL)...(I also purple-link them, cuz it's prettier)...
Linking to SPECIFIC posts on THIS forum
...to see the source of that, quote my post & look at the code in the textarea (I tried to put it in a code block, but it fails to show the REAL source).
Post subject: Linking to SPECIFIC posts on THIS forum ------------------- SPACE -------------------
...the per-post subject is a link to that post, which uses a URL like this...
http://www.autohotkey.com/community/viewtopic.php?f=1&t=87689#p544122
...the 544122 is the "post number" of your post. However, Note: with a link like this, if a post is moved to a different topic (or different page, in the same topic), this type of link will break/stop working.
The icon next to Posted:, which is either
http://www.autohotkey.com/community/viewtopic.php?p=544122#p544122
...again, the 544122 is the post number. It's included twice, cuz phpBB looks up the post number after p= & the browser scrolls to #p544122 once that page loads. Since this type of link includes p=, phpBB will find the post, even if it gets moved.
It takes more effort, but I prefer to link with URLs like this...
http://www.autohotkey.com/community/viewtopic.php?f=1&t=87689&p=544122#p544122
...so it shows the topic number in the link/URL (&, as above, since this type of link includes p=, phpBB will find the post, even if it gets moved).
I also prefer to link with the Subject of the destination post as the text of the link (instead of a bare URL)...(I also purple-link them, cuz it's prettier)...
Linking to SPECIFIC posts on THIS forum
...to see the source of that, quote my post & look at the code in the textarea (I tried to put it in a code block, but it fails to show the REAL source).
#3
Posted 18 June 2012 - 10:51 PM
Great, thanks JSLover!




