No Access After WP Site Duplication
-
Greetings. I have been using Duplicator Lite for some time and have had no issues with it until very recently. Currently, I have version 1.4.0 installed. Also, I use Local Lightning for my WP site development efforts, running under Windows 10.
In the past, I slightly modified the Duplicator procedure in order for it to work with Local. The Duplicator videos only demonstrate migrating between local development & remote production environments, which does not apply when duplicating a WP site developed locally and then migrating it to another version of the same site under a local development environment. Maybe the problem I am experiencing is only an issue with Local Lightning? I most recently changed over to Local Lightning from Local’s previous incarnation, which ran under a virtual machine.
Here are the steps I took historically when the duplication & migration process worked with Duplicator Lite running under Local’s previous virtual machine version:
- Logged into the WP web site to be duplicated
- Created a new Duplicator Lite package
- Downloaded the installer and package files
- Renamed the lengthy installer file to “installer.php”
- Created a new WP web site in Local
- Started & logged into the newly created WP web site
- Viewed the newly created WP site
- Under the new web site’s “public” directory, renamed “wp-config.php” to “wp-config.php_bak
- Copied the Duplicator Lite installer files into the “public” directory
- For the currently opened view of the newly created WP web site, replaced the URL in the address bar with the following: <WP domain name>/installer.php
- After refreshing the page, the Duplicator Lite package files kicked in to migrate the duplicated WP web site to the newly created WP web site
- Followed the instructions after the page refreshed, which included entering the proper database name, database user name and database password
- Completed the migration process
- Selected the installer’s prompt to log into the migrated WP site (doing so would automatically delete the Duplicator Lite installer files)
- Opened a new web browser tab to view the newly migrated site
These series of steps worked flawlessly every single time. Now, after executing the second to last step, instead of being able to log into my newly migrated WP web site as the admin, I am confronted with the following error message:
“Sorry, you are not allowed to access this page.”
I did not alter my log in credentials during the migration process, but this error persists, and I am unable to access the migrated WP web site. I compared the “wp-config.php” files across the original and duplicated WP web sites, and, as expected, their contents are identical. Similarly, I examined both the ‘<..>_users’ and ‘<..>_usermeta’ database tables underlying the original and duplicated WP sites. The users tables, in this entailing case a single ‘admin’ record’, matched identically. Similarly, the ‘<..>_capabilities’ meta key values across both ‘<..>_usermeta’ tables matched identically. In other words, this means both the original and duplicated WP web site are credentialed for access identically. The singly defined ‘admin’ user in each case has precisely the same log-in credentials, which is why I am confused as to why the access error message appears at all.
Your feedback & recommendations are greatly appreciated. Thank you.
- The topic ‘No Access After WP Site Duplication’ is closed to new replies.