WordPress.org

Support

Support » How-To and Troubleshooting » WordPress Address (URL) and Site Address (URL)

WordPress Address (URL) and Site Address (URL)

  • youthman
    Participant

    @youthman

    I originally setup the website using a particular domain (ex. originaldomain.com) but now that we are ready to go live, I need to use a different domain name (ex. newdomain.com) for the website and remove altogether any reference to the original website.

    I have newdomain.com’s nameservers pointed to the website files on the host so it is pulling up but all of the menu links, URL’s etc are still pointed to the originaldomain.com.

    In the general settings, there is an option for WordPress Address (URL) and Site Address (URL). I’m assuming I need to change the “Site Address” to newdomain.com but I made the mistake on a previous website of changing BOTH of these settings and the entire website was broken, even the login and I found online that I had to manually go into MyPHP Admin to point the database back to the original URL to gain access to the admin again.

    I don’t want to “break” the site and cause it to go down now that we are live.

    Any help would be greatly appreciated.

Viewing 15 replies - 16 through 30 (of 46 total)
  • Yes, it will copy all files from old folder to the new one. However, best way to do this is to use halty_source.php while your domain is still pointing to the old (SOURCE) place. Although, if you can still open halty_source.php in a browser via other means (i.e., temporary domain), then you should be fine.

    youthman
    Participant

    @youthman

    Sorry, I’m not following you.

    I have currentdomain.com with current wordpress site up and running.

    I want to move files to a new folder on my webhost and move the domain to newdomain.com.

    I uploaded the halty_source.php file to currentdomain.com/halty_source.php and uploaded halty_target.php to the root directory where the new website will reside.

    When I load currentdomain.com/halty_source.php in Firefox, I get the above errors.

    Thanks for your help.

    That means that 1and1 blocks outgoing connections for some reason. Some rare webhosts do that “for added security”, but it creates more trouble than it solves. This also means that none of your WordPress plugins will be able to talk to the outside world to update information. Same applies to automatic wordpress updates and many other things.

    Let me test this on one of our 1and1 accounts. Maybe there is a way to enable outgoing connections. I am looking into this right now.

    youthman
    Participant

    @youthman

    The original domain has not been changed. It is still pointing to the old (SOURCE).

    youthman
    Participant

    @youthman

    Hmmm…I do get notifications within WordPress for me to update plugins and the core wordpress files.

    What plan do you have with 1and1?

    youthman
    Participant

    @youthman

    1&1 Business

    youthman
    Participant

    @youthman

    Thanks a bunch for your help.

    Allright, I have added a workaround for this. Please try this version:
    http://www.halty.net/website_mover_0.5.zip

    youthman
    Participant

    @youthman

    Cool thanks. Got past the errors with the new version. Trying to find the IP address now.

    youthman
    Participant

    @youthman

    The new domain is registered with Godaddy but I have the nameservers pointed to 1and1 for web hosting. Do I need to look up in Godaddy for the IP address of that domain?

    If your newdomain.com already works, then you can simply ping it to find out the IP. Example:

    C:\Users\*>ping google.com

    Pinging google.com [74.125.226.70] with 32 bytes of data:
    Reply from 74.125.226.70: bytes=32 time=6ms TTL=54

    youthman
    Participant

    @youthman

    So far so good…copying files now.

    youthman
    Participant

    @youthman

    says 4013 files copied. DONE. If you go to the new site http://panaceaengineering.com/ the homepage looks great but if you click on any of the main navigation links at the top, I get an Internal Server Error. Also, not all of the URL’s are pointed to the new website. For example, if you mouseover the “Read More” underneath the “Company Profile” in the main body section, you will see that it links to the Klipschatlantic.com website.

    youthman
    Participant

    @youthman

    Even what we have right now, you have saved me a TON of time! The script even removes the two files you upload after it is finished. Genius!

Viewing 15 replies - 16 through 30 (of 46 total)
  • The topic ‘WordPress Address (URL) and Site Address (URL)’ is closed to new replies.