LDraw.org Discussion Forums
Old URL conversion? - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Administrative (https://forums.ldraw.org/forum-4.html)
+--- Forum: Website Suggestions/Requests/Discussion (https://forums.ldraw.org/forum-23.html)
+--- Thread: Old URL conversion? (/thread-21910.html)



Old URL conversion? - Philippe Hurbain - 2016-11-15

Is there an easy way to convert old forum URL in order to find again content? (eg. http://forums.ldraw.org/read.php?19,11619,11619#msg-11619)


RE: Old URL conversion? - Orion Pobursky - 2016-11-15

(2016-11-15, 16:34)Philippe Hurbain Wrote: Is there an easy way to convert old forum URL in order to find again content? (eg. http://forums.ldraw.org/read.php?19,11619,11619#msg-11619)

The conversion script should have taken care of that for the forums. As far as manually saved links, the "msg-#" is the post number and the smaller of the last 2 comma separated numbers in the URL is the thread id. The generic format is:
http://forums.ldraw.org/thread-<thread id>-post-<post number>.html#pid<post number>
Just replace <thread id> and <post number> with the appropriate number.


RE: Old URL conversion? - Magnus Forsberg - 2016-11-15

Nope.
That doesn't work.

   


RE: Old URL conversion? - Orion Pobursky - 2016-11-15

(2016-11-15, 17:19)Magnus Forsberg Wrote: Nope.
That doesn't work.

Thanks. I was riffing off my memory which apparently sucks


RE: Old URL conversion? - Orion Pobursky - 2016-11-15

I guess I can set up a rewrite rule for that.


RE: Old URL conversion? - Magnus Forsberg - 2016-11-21

(2016-11-15, 21:30)Orion Pobursky Wrote: I guess I can set up a rewrite rule for that.

Have you found the correct translation formula yet?


RE: Old URL conversion? - Orion Pobursky - 2016-11-21

(2016-11-21, 21:11)Magnus Forsberg Wrote:
(2016-11-15, 21:30)Orion Pobursky Wrote: I guess I can set up a rewrite rule for that.

Have you found the correct translation formula yet?

Not quite. I need to do some more mod_rewrite research.


RE: Old URL conversion? - Orion Pobursky - 2016-11-24

(2016-11-21, 22:11)Orion Pobursky Wrote:
(2016-11-21, 21:11)Magnus Forsberg Wrote: Have you found the correct translation formula yet?

Not quite. I need to do some more mod_rewrite research.

Should work now.


RE: Old URL conversion? - Philippe Hurbain - 2016-11-25

(2016-11-24, 21:06)Orion Pobursky Wrote: Should work now.
Seems to work fine indeed - Thanks!