WordPress.org

Forums

[resolved] Creating new WP install w/ add-on domain URL that's presently directed elsewhere (4 posts)

  1. derekbeck
    Member
    Posted 3 years ago #

    So I have a WP blog at a different web host. I want to move it to my new webhost before cancelling the old one, but I want to use this opportunity to rebuild the blog altogether (it's not really a blog, it's just 5 static pages, so no database transfer issues here).

    So I created/installed a new WP install in my new host, where it will be placed in a directory called:

    /public_html/mysmallblog.com

    This is to be an add-on domain, buried under my current non-wp site called http://www.mywebsite.com.

    Once I have this new WP install built, I'll redirect my domain name http://www.mysmallblog.com to this directory and it will be done, then I'll delete my old host account.

    However, my trouble is this: when I go to my new WP website at http://www.mywebsite.com/mysmallblog.com/wp-admin to login, it redirects me to:

    http://mysmallblog.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.mywebsite.com%2Fmysmallblog.com%2Fwp-admin%2F&reauth=1

    That is, it redirects me to the live site for logging in. Once I get things fully moved over that will be fine, but for now it is directing me to the live site and thus a different WP install.

    How do I temporarily disable these redirects so that it stays on my hidden underconstruction site buried at http://www.mywebsite.com/mysmallblog.com/wp-admin

    ?

    Hopefully that makes sense... it seems more convoluted written out here than it really is...

    Thanks,
    Derek

  2. derekbeck
    Member
    Posted 3 years ago #

    Basically, I've decided to try this: I've set up my new install with the URL in the setup script set to http://www.mywebsite.com/mysmallblog.com/

    Then, I will later change, in the WP>Preferences>General Tab, the website to mysmallblog.com and hope for the best.

    I drew upon my lessons learned from my old post here:
    http://wordpress.org/support/topic/infinite-loop-on-wordpress-install?replies=2

    Any problems with my approach?

  3. fonglh
    Member
    Posted 3 years ago #

  4. derekbeck
    Member
    Posted 3 years ago #

    Yeah, this indeed worked. Thanks for the links. Derek

Topic Closed

This topic has been closed to new replies.

About this Topic