• Okay. This is a big one, so bear with me.

    GoDaddy allows you to create multiple WordPress installations on a single domain. The way I have my clients website set up now is:

    https://www.DomainName.com/
    has a WordPress installation on it. I then was tasked with revamping the website. I created another installation on the domain, with a link like:

    https://www.DomainName.com/togolivejan1
    Now, keep in mind I have a lot of images and media on the site. If you didn’t get the memo from the link, “togolivejan1” means “To Go Live January First” (New year, New website!). Of course I set it live January 1st by redirecting the first link to the second.

    This was just a temporary workaround, and I now need to switch the second link to the first link so that the new website (second) is clean and nice and none of the /togolive stuff.

    My Question:

    1. If I switch the first link to another filepath (/archivedlink or something) and switch the second link to the first link, are the images going to populate correctly (not just images, everything on the website)? The reason I ask is because when the webpage calls in items for
    img src ( or others ) and it has https:// link .com/togolivejan1/IMAGE_FILE. When I switch it and get rid of the /togolivejan1 link ONLINE, I’m not sure if it’s going to delete the file path on the directory or..?

Viewing 1 replies (of 1 total)
  • As long as you’ve migrated the complete WordPress install, including everything contained in the /wp-content/ folder to the new subfolder, you should be able to update your URL references by doing a database search and replace. This is the tool I use and is recommended by WordPress for performing a database-wide search and replace. Simply search for the old URL and replace with the new URL and it should replace all instances. You can do a dry run first. Use this tool with caution and definitely perform a full backup of all your files and your database before running the script.

    Note, there are some plugins that are mentioned on the WordPress Codex page linked to above that can help you perform a search and replace directly through the WordPress admin panel.

    • This reply was modified 7 years, 10 months ago by slackerman.
Viewing 1 replies (of 1 total)
  • The topic ‘Installation Filepath Transfer’ is closed to new replies.