• I realize this may not be the best place to post this, but I was shunned in the phpnuke forums, so here goes:

    I am moving my blog from php-nuke to WordPress. I don’t want to even think about trying to integrate the two, but I would like to keep by Google traffic heading to the right place.

    I have made a copy of my current website (www.denymyfreedom.com) and put it in the following folder (www.denymyfreedom.com/legacy/).

    My thought is to use mod_rewrite so that whenever someone follows a google link to a phpnuke story, they are redirected to the legacy website where they can still view it.

    This is what I have so far, and I know it is wrong:

    ——————————-

    RewriteEngine on

    RewriteCond %{QUERY_STRING} ^name=news&file=(article|print)&sid=([0-9]+) [NC]
    RewriteRule ^modules\.php$ /legacy/ [R=301]

    —————–

    I know the first string is correct, because I got if off someones case study from moving phpnuke to another CMS. What I am wondering is what my second string should be so as to just have the stories redirected to the module.php in the /legacy/ folder.

    Any help would be appreciated. Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘mod_rewrite (phpnuke to wordpress)’ is closed to new replies.