Support » Installing WordPress » Tricky Setup with redirect from other server. Advice Please

  • Hey all. I could use some advice as to how to migrate from my local staging server to my production server. Its a rather tricky setup so bare with my as I try to describe it.

    I have my site set up and working great at the root of a staging subdomain on my personal server.

    later this week I’m going to be moving it to a new production server on Rackspace which currently has no domains attached to it (is just an IP address). The clients is redirecting a folder to the new rackspace server.
    This will be where the site lives. But is a different server somewhere else in the world (not at rackspace). they will be redirecting traffic to that url to the new rackspace server.

    So my questions are:
    my working staging set up for wordpress is at the root of my personal servers subdomain. How should I set it up on rackspace? At the root of the ip address? or within a subfolder to mimic the domain setup for any relative links.

    The reason I ask is that I thought i had this set up properly, in a test I did a week or so ago on the production server, but I realized that certain admin links (for example uploading images) were still based on a root level instead of subdirectory.

    I realize this is hard to follow but I’m kinda stumped as the proper way to migrate
    with a redirect from another server. It seems I’m both changing the url and the folder structure at the same time. Is there a proper method for a move like this.

    Should I move my staging server to a subfolder first then change the url? Oh my head is spinning.

    any help is appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Still completely stumped here. I went ahead and attempted to move the site onto my Rackspace server into a dev folder. My client set up a dev url

    Anyone visiting that url will get redirected to my server (my rackspace server simply has an ip address)

    the sites front end works with absolute urls. But where things start to fail is within wp-admin. If for example i’m on the General Settings page and click save. It saves the data and then redirects to /wp-admin/… instead of /dev/subfolder/wp-admin/. Since that folder doesn’t exist it goes to my clients 404 page.

    Also, going to ends on the clients servers 404 page but… (with slash) works properly.

    The way I moved the site to Rackspace from my dev folder was to change the URLs in wp-admin on my server (which was to

    I then uploaded the files and database to rackspace and changed the wp-config file to match the rackspace db.

    This is my current htaccess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    I would REALLY appreciated some guidance here. supposed to be going live on Tuesday.



    Have you tried having a domain name registered to the rackspace IP (is there a reason you can’t)? I would think you would do a normal install on rackspace and the Client Would Redirect traffic for their Domain Name to the rackspace domain (with or without the sub directory). Not sure how to do it with just an IP – if you figure it out please enlighten us.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tricky Setup with redirect from other server. Advice Please’ is closed to new replies.