Redirecting on IIS

9 months ago | bice7 (Member) | |

I have a wordpress blog that I need to move from one server to another. Both blogs will be in the root folder and will use pathinfo style index permalinks. So I am wanting to redirect old post like:

www.oldsite.com/index.php/post-name

to:

www.newsite.com/index.php/post-name

I have tried /index.php/(.*) => /$1, /index.php/(.*), and just /index.php/ and none have given me any results. What should I do?

Read responses...

Responses

  1. bice7:

    Posted 9 months ago by Member

    Nevermind, I figured it out! I used:

    /index.php/(.*) => www.newsite.com/index.php/$1

    I just had to figure out regex!

  2. John:

    Posted 9 months ago by Key Master

    Glad you got it sorted bice! Hopefully this will help anyone else with the same question

Reply

You must log in to post.

Home | Software | Terms & Conditions | Sitemap | John Godley © 2008