Site Migration Issue (3 posts)

  1. xxkmanxx
    Posted 1 year ago #

    I have 2 different domains on 2 different servers. One for my old site and one for my new site with a temp domain.

    I created a temp domain to test my wordpress site migration. Everything looked good and seemed to work until I tried one of my membership forms. It's using a custom template I created with php. It should send a conformation email to the customer and an email to the wordpress admin containing form fields and payment info, so the admin can approve all info and payment . Customer gets the conformation email but the admin doesn't get anything. I don't know why this would happen. I even tried the old site's membership form, but it still works. admin and customer receive emails on old site. I looked at my custom template code and I don't see anything that should be different on a new server.

    I used this tutorial for site migration( https://interconnectit.com/719/migrating-a-wordpresswpmubuddypress-website/ ). I backed up old site's files threw FTP and used the WP-DB-Backup plugin to backup all my databases. I installed wordpress to the new temp domain with the cpanel wordpress install. After that I deleted all files except for wp-config.php. I used FTP to transfer all my wordpress files from my old site over. Then I used phpmyadmin to import the old site's wordpress database. I updated the siteurl in the wp_options table to my temp domain. After that I used the WordPress Serialized PHP Search and Replace tool ( https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ ) to search and replace my old site url to my new temp domain. After that I logged into the admin backend of my new temp domain wordpress site and made the wordpress address and site address to my temp domain. To me everything should be working. I don't know what's wrong. If anyone could help me out that would be great. Thanks.

  2. vtxyzzy
    Posted 1 year ago #

    As mentioned in the article you followed, editing the database can be quite a challenge. If you make even a tiny error, you can cause all sorts of problems.

    Here is an article with the steps I use to migrate a site: http://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

    The plugin WP Migrate DB will take care of the database editing when used as described there.

  3. xxkmanxx
    Posted 1 year ago #

    Thanks so much, but It appears that the emails were marked as spam. I checked my new mail in my ftp account. Theres a wordpress plugin to use smtp authentication with the wp_mail() function. Its called wp-mail-smtp and that fixed my problem.

Topic Closed

This topic has been closed to new replies.

About this Topic