• Hi, i have the follow issues:

    i created a subdirectory in my hosting files (mysite.eu/next) and inside in this a copied the files from the orginal site.

    original site: mysite.eu
    copy of original in subdirectory: mysite.eu/next

    except files, i was created and a copy of database (with different user and password).
    So i have a copy of files and database (in subdirectory “/next”).

    i updated mysite.eu/next/wp-config.php
    define(‘WP_HOME’,’mysite.eu/next’);
    define(‘WP_SITEURL’,’mysite.eu/next’);

    define(‘DB_NAME’, ‘new_db_name’);
    define(‘DB_USER’, ‘new_user’);
    define(‘DB_PASSWORD’, ‘new_password’);

    In the copy (of subdirectory /next) i changed template and removed the old.

    The problem is when i type mysite.eu/next show me the site of mysite.eu (with old template)

    But when I’m connected in mysite.eu/next/wp-admin in mysite.eu/next show me the correct template.

    Any idea how to solve this?

Viewing 1 replies (of 1 total)
  • Joey

    (@leglesslizard)

    Hi,

    Did you update the database with the URL of your new site? You need to perform a search and replace on the database when doing a migration to stop the new site always linking back to the old site.

    Regards,
    Joey

Viewing 1 replies (of 1 total)
  • The topic ‘copy – migration problem’ is closed to new replies.