After moving site – login returns to home page
-
This has been a problem on two different sites I’ve migrated to my server.
SYMPTOMS:
– Public facing side works correctly
– Am able to get to wp-login.php and submit form data.
– Upon submittal, user (admin) is shown as logged in (evidenced by black bar across top, showing username, but no drop downs are accessible).
– Redirected to home page, but still logged in.MOVE PROCEDURES from previous site:
Note – I have about 30 other WP sites on this new server, ones that were moved previously have done so without incident. Using the same templates on nginx conf files which work flawlessly on other sites.-Both old and new servers are Nginx, old server is Php5.56+, new server is 7.19+
-Permissions are set correctly on new server, 0755 and 0644 specified in docs.
– Domain names remain the same, will be adding SSL once this is resolved.Operations performed on old server:
– WP-optimize DB
– Update core and plugins
– Removed plugins not needed
– Remove unneeded themes
– use a db manager to export / importOperations on new server:
– Upload wp-content plugins, themes, uploads
– make minor config changes to wp-config
– repoint at Cloudflare to new server (CF is presently disabled).Things I’ve tried:
– Looking at logs on server, no errors shown.
– Enabling debug mode in wp-config.php (no errors shown)
– Adding siteURL and HomeURL to wp-config.php
– I DO use Nginx caching, however it is set to ignore wp-admin, and I use on other WP sites without issue access the admin area.The page I need help with: [log in to see the link]
- The topic ‘After moving site – login returns to home page’ is closed to new replies.