Access wp-admin after a site is copied

I am currently developing a club website on wordpress: northernnavigators.epizy.com
In order to develop a couple of different layouts, I have created a second account on infinityfree, set up a new mysql database (referring to infinityfree instructions).
I have imported the original mysql and uploaded (Filezilla) the origional htdocs folder, after modifying the mysql database / user / password and host information in wp-config.

So far so good, and the homepage opens: http://northernnavigators2.epizy.com/

As expected, any of the links take you to the original website, so I need to go in and edit them (I have previously used a WP plugin to do this across a site)
The problem is when I type in http://northernnavigators2.epizy.com/wp-admin/ it takes me to the login page of the original site! I have tired this in a private page, and it still happens.
I assume I need to edit something else in the wordpress files - can anyone help?

You need to change the website URL in the database for the second site.

https://yoohooplugins.com/change-wordpress-url-database/

5 Likes

Thanks for the assist, that worked a treat. I had an error when first running the script, but noted that the SQL files had different names: UPDATE wpjy_posts instead of UPDATE wp_posts etc. So ran fine the second time

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.