Cannot login and see pages after server change
-
Description
I am trying to move a WordPress-based website from a Shared Hosting to a Cloud VPS with a multi-site apache server set up. The main page does correctly show up, as well as the login page (wp-login). However I cannot:1) see any other page (such as https://www.domain.com/anypage) – it gives an apache error “Not Found – The requested URL was not found on this server.”
2) log in the dashboard – even if the password is correct, it tells me that the password entered is not correct.Steps I took
1) I downloaded all files from the first server and grouped them into a zip (see step 11).
2) I created a folder in the /var/www/ apache folder, moved the zip via scp and unzipped all files there.
3) I gave permissions 755 to folders and 644 to files and ownership to www-data (temporary).
4) I imported the database and changed the wp-config to match the new server address and mysql user credentials.
5) I enabled the domain in apache.
6) I tested the site and see the problems as in the Description.
7) I tried to change the password on the wp-login page but it failed to send an email (perhaps because to mail server is installed yet).
8) I changed the password of a user in phpmyadmin.
9) The login still tells me it is not the right password.
10) I tried to do a fresh change of core files (WordPress 8.5) but did not solve.
11) I deleted the old folder, and moved once more all downloaded files via ftp (except wp-config), and still did not solve.Configuration
Apache/2.4.41 (Ubuntu).
- The topic ‘Cannot login and see pages after server change’ is closed to new replies.