<HTML dir=ltr><HEAD><TITLE>Re: [pmwiki-users] Mediawiki to PmWiki migration - how to preserve old links</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<P><FONT face="Courier New" size=2>Thanks Andrew, exactly what I was after. When I'm finished with this migration and iron out any more issues I'll write a Cookbook item on PmWiki covering MediaWiki to PmWiki migration and backwards compatibility.</FONT></P>
<P><FONT face="Courier New" size=2>Andrew wrote:</FONT></P>
<P><FONT face="Courier New" size=2>> Assuming I've understood you right, you want<BR>> Reading_and_Writing_to_ECU = ReadingAndWritingToECU<BR>><BR>> <?php<BR>> $title = @$_REQUEST['title'];<BR>> $title = str_replace('_', ' ', $title);<BR>> $title = ucwords( $title );<BR>> $title = str_replace(' ', '', $title);<BR>> header("Location:<BR></FONT>> <A href="https://mail.ngms.eu.com:2000/exchweb/bin/redir.asp?URL=http://scoobypedia.co.uk/enginuity/index.php/Enginuity/$title" target=_blank><FONT face="Courier New" size=2>http://scoobypedia.co.uk/enginuity/index.php/Enginuity/$title</FONT></A><BR><BR><FONT face="Courier New" size=2>-Steve.</FONT></P></BODY></HTML>