Old URL conversion?


Old URL conversion?
#1
Is there an easy way to convert old forum URL in order to find again content? (eg. http://forums.ldraw.org/read.php?19,1161...#msg-11619)
Reply
RE: Old URL conversion?
#2
(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,1161...#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.
Reply
RE: Old URL conversion?
#3
Nope.
That doesn't work.

   
Reply
RE: Old URL conversion?
#4
(2016-11-15, 17:19)Magnus Forsberg Wrote: Nope.
That doesn't work.

Thanks. I was riffing off my memory which apparently sucks
Reply
RE: Old URL conversion?
#5
I guess I can set up a rewrite rule for that.
Reply
RE: Old URL conversion?
#6
(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?
Reply
RE: Old URL conversion?
#7
(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.
Reply
RE: Old URL conversion?
#8
(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.
Reply
RE: Old URL conversion?
#9
(2016-11-24, 21:06)Orion Pobursky Wrote: Should work now.
Seems to work fine indeed - Thanks!
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)