• Resolved mjhenterprises

    (@mjhenterprises)


    I have an existing WP website (www.blessedlimo.net) using the Stealth theme. I installed WP on my local server (WebMatrix) and created a “remodel” of the current website using the Sensitive theme so that my current website would be up and running until the new site was ready for publishing. So, what is the most efficient way to replace the old website with the new one? I use WinSCP for ftp transfer to the web host server.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You need to review Moving_WordPress.

    Thread Starter mjhenterprises

    (@mjhenterprises)

    Thank you for the prompt response, Esmi. Unfortunately, I made an error and followed the process of moving on the same server so now that I’ve changed the URLs I can no longer access the website on my local server. I am continually directed the web host server and current website which is still displaying the stealth theme. Please help…

    Thread Starter mjhenterprises

    (@mjhenterprises)

    When I attempt to access my local host server, I end up at this page:
    https://blessedlimo.net/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%3A23141%2Fwp-admin%2F&reauth=1

    Thread Starter mjhenterprises

    (@mjhenterprises)

    Okay…so now I’ve edited the URLs in the database on my localhost so that I can access the website, but now I have white pages with content. The theme (sensitive) is activated, but not displayed. I am unsure which table to review for errors. wp-options shows sensitive for template, style sheet and current theme. What am I missing?

    When you move a site, you must replace the old URLs and paths with the new ones. Some of these are stored in the database in ‘serialized’ form where the string length is stored along with the string. You must use special tools to search and replace the old values with the new ones.

    If you replace an old URL with a new one of a different length, it will break the serialization, causing many different problems.

    If the old site is still available, you can use the steps shown in this article to copy the site: https://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

    If the old site is not available, and you still have a copy of the database from that site, you should be able to use this tool to make the changes: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Thread Starter mjhenterprises

    (@mjhenterprises)

    The website is still on my localhost and not displaying properly. The old site is still working on web host’s server and working properly. The search and replace script did not correct the challenge I am facing now which is the wp website on my localhost is displaying content (text and images) with a white background. The theme has been switched from Sensitive to Twentyfourteen by changing the theme folder name (sensitive to sensitive-old) because the wp admin panel is not working. I can access the wp admin panel (only when logging in through wp-login.php) and navigate to different areas (appearance, plugins, settings, etc.), however none of the actions initiated (i.e., activating a theme, deactivating a plugin) execute. Changes to the website only occur now if I make changes in wp_options.

    Now what?!

    Did you follow the steps in the article I linked?

    Thread Starter mjhenterprises

    (@mjhenterprises)

    The search and replace script did not resolve the issue.

    Since you still have the old site, it would be better to follow the steps from the article.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘replace current wp website with new wp website’ is closed to new replies.