Shoutbox

Convert "msgplus.mybboard.com" to "www.msghelp.net"? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: Convert "msgplus.mybboard.com" to "www.msghelp.net"? (/showthread.php?tid=84302)

Convert "msgplus.mybboard.com" to "www.msghelp.net"? by CookieRevised on 06-13-2008 at 03:54 AM

Mostly directed @WDZ:

It has come to my attention, by several PMs from others (last one from Chris4), that many old posts can't be found anymore by just clicking on links. As you all know the msgplus forums is full of very usefull and valid information and we often link to old posts which on their turn might link to older posts, etc...

Because of the domain name change, a lot of those links don't work anymore.

It is also a lot of work if each forum member needs to edit his/her old posts to update such links.

So, can this be done automatically with a query?

To get an idea:
http://shoutbox.menthix.net/basicsearch.php?do=se...outbox.menthix.net

:p


RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by WDZ on 06-13-2008 at 05:27 AM

Hmm, that was still working like 3 months ago... I guess Chris (surfi) removed the DNS record for it recently.

I'll have to run a find/replace script on all the old posts. :p

Edit: Done. :zippy:


RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by John Anderton on 06-13-2008 at 02:53 PM

Why not have a simple .htaccess put into http://shoutbox.menthix.net?

code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ http://shoutbox.menthix.net/$1 [L,R=301]

RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by ShawnZ on 06-13-2008 at 02:55 PM

quote:
Originally posted by John Anderton
Why not have a simple .htaccess put into http://shoutbox.menthix.net?
code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ http://shoutbox.menthix.net/$1 [L,R=301]


quote:
Originally posted by WDZ
I guess Chris (surfi) removed the DNS record for it recently.

RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by John Anderton on 06-13-2008 at 03:29 PM

Oops! Lets kill fishy then :)


RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by Ezra on 06-13-2008 at 06:17 PM

quote:
Originally posted by WDZ
Hmm, that was still working like 3 months ago... I guess Chris (surfi) removed the DNS record for it recently.

I'll have to run a find/replace script on all the old posts. :p

Edit: Done. :zippy:

Looks like your script forgot some entries.
RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by WDZ on 06-13-2008 at 08:11 PM

quote:
Originally posted by John Anderton
Oops! Lets kill fishy then :)
:p

quote:
Originally posted by Ezra
Looks like your script forgot some entries.
It got most of them (about 4500 posts)... the remaining 120 or so were either posted after the domain change, or they had instances of "shoutbox.menthix.net" that didn't look like links. I didn't want the script to get carried away and replace more than necessary.
RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by John Anderton on 06-14-2008 at 09:06 AM

Get fishy to get the dns record back up because there are a few external links (last I checked) which link to "shoutbox.menthix.net" :P
http://www.google.co.in/search?q=shoutbox.menthix.net

Its not like having a subdomain redirect is so much effort or resource consuming :P


RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by CookieRevised on 06-14-2008 at 09:17 AM

quote:
Originally posted by WDZ
quote:
Originally posted by John Anderton
Oops! Lets kill fishy then :)
:p

quote:
Originally posted by Ezra
Looks like your script forgot some entries.
It got most of them (about 4500 posts)... the remaining 120 or so were either posted after the domain change, or they had instances of "shoutbox.menthix.net" that didn't look like links. I didn't want the script to get carried away and replace more than necessary.
cool :zippy:

But many of those posts have very valid links though:
http://shoutbox.menthix.net/basicsearch.php?do=se...outbox.menthix.net

eg:
Joa's reply to Long Story. So screwed
CookieRevised's reply to How to copy Costum Emoticons to a blog
...


strange that the script ignored links like those.. some buggy wuggy maybe? :p

ofcourse, stuff like Chrono's reply to I found the OLD Plugins Page for MSGPlus 3 shouldn't change.
RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by surfichris on 06-15-2008 at 03:48 AM

quote:
Originally posted by John Anderton
Why not have a simple .htaccess put into http://shoutbox.menthix.net?
code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ http://shoutbox.menthix.net/$1 [L,R=301]

Pfft, wasting previous server resources. How about...
code:
Redirect 301 / http://shoutbox.menthix.net/


Much nicer.

Done.
RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by John Anderton on 06-16-2008 at 06:16 PM

Wouldn't that redirect any shoutbox.menthix.net link to the root of the domain instead of the exact folder?


RE: Convert "msgplus.mybboard.com" to "www.msghelp.net"? by WDZ on 06-16-2008 at 08:02 PM

quote:
Originally posted by John Anderton
Wouldn't that redirect any shoutbox.menthix.net link to the root of the domain instead of the exact folder?
No. Why don't you try it yourself? :p

http://shoutbox.menthix.net/forumdisplay.php?fid=18