How - Moving Wordpress from Apache Subdomain to IIS Folder

Rynert used Ask the Experts™
I want to move my blog from ; which is running on Apache 2.2

to running IIS6

Current permanlink structure is ; /%year%/%monthnum%/%day%/%postname%/

once moved I want it to retain the same structure.

So will become

I have Helicon's ISAPI_Rewrite3 working in IIS so the permalink structure will work.

So, the questions are :

1. What is the process for moving the Wordpress site, and
2. What do I need to do to ensure that all OLD URLs will Permanent 301 redirect to NEW URLs ?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fixer of Problems
Most Valuable Expert 2014
The files can be just copied.  The database is the big problem.  After dumping the database from the old MySQL server, you must change several items in the 'wp_options' table to point to the new site and every row in 'wp_posts' because the site URL is stored in the 'guid' field of every post.  Then upload the dump to the new MySQL server.


Thanks - and how would I turn every 'old' post into a permantent 301?
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Good question.  First you would have to have a list of all of the old posts I guess.  Then you would have to create a redirect for each one.  Maybe there is a way to do a simple 'rewrite' to cover them all but I'm not good at that.


Still looking for an answer to the second part - how to bulk create 301's for existing pages (without doing them one by one)
a nice web.config redirection..
My example works in my case.. but Windows ways are misterious
<?xml version="1.0" encoding="UTF-8"?>
    <rule name="Redirect to nl WWW" stopProcessing="true">
      <match url=".*" />
      <conditions logicalGrouping="MatchAny">
     <add input="{HTTP_HOST}" pattern="^$" />
      <action type="Redirect" url="{R:0}" redirectType="Permanent" />

Open in new window

Jason C. LevineDon't talk to me.

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial