The Old Maggotdrowing Forums

kevin o connor

M.O.G. member
Staff member
Site Supporter
Joined
Jan 1, 2010
Messages
4,041
If anyone knows how to change the following code so that any traffic going to the old forum links from external sources gets diverted to the same content on this forum please let me know :

Code:
<configuration>
    <system.webServer>
        <httpRedirect enabled="true" destination="https://www.maggotdrowning.com/forums/index.php" exactDestination="true" httpResponseStatus="Permanent" />
    </system.webServer>
</configuration>

External link to old forum: //www.maggotdrowning.com/forums/threads/thread number
Link to same content on this forum: //www.maggotdrowning.com/forums/threads/thread number/

It is the parts in Red that would need to be altered to that in Green, effectively putting a filter in place that converts the part in Red to that in Green when a user follows an old link.

The same would be needed for inclusion into a .htaccess file
See, the minute you bring colour into anything it becomes complicated !
 

Markywhizz

Clueless member
Site Supporter
Joined
May 31, 2019
Messages
3,939
If anyone knows how to change the following code so that any traffic going to the old forum links from external sources gets diverted to the same content on this forum please let me know :

Code:
<configuration>
    <system.webServer>
        <httpRedirect enabled="true" destination="https://www.maggotdrowning.com/forums/index.php" exactDestination="true" httpResponseStatus="Permanent" />
    </system.webServer>
</configuration>

External link to old forum: //www.maggotdrowning.com/forums/threads/thread number
Link to same content on this forum: //www.maggotdrowning.com/forums/threads/thread number/

It is the parts in Red that would need to be altered to that in Green, effectively putting a filter in place that converts the part in Red to that in Green when a user follows an old link.

The same would be needed for inclusion into a .htaccess file
Is it just me being thick or is the path in red the same as the path in green as you’ve written it?
 

Dave

Red Leader
Staff member
Site Supporter
Joined
Aug 8, 2001
Messages
66,391
Well spotted Mark, the link was autocorrecting to this forum software. I've fixed it by adding a space

In the background I have a filter set up so that any old internal links in posts automatically revert to this forum ......

1598359925915.png

I'd forgotten about that when I posted the question :)
 

muskrat

Havin' a Waggle
Site Supporter
Joined
Oct 26, 2004
Messages
7,438
In your link to the first post you sign off as: " Regards to all, Dave &gt;&lt;@&gt; &gt;&lt;@&gt; J "

Is that a bit like LGBTQ+ ? ;) :ROFLMAO:
 

tipitinmick

Regular member
Site Supporter
Joined
Jul 15, 2009
Messages
13,531
Is the Steve Ringer one still on ??
Best thread ever. I particularly like it when Mick says .... One of you lot could have PM’d me. ???. Oh dear. Makes you wanna hide under a table. Well done though Mick. You gave us all a good giggle. Including Steve. ?
 
Top