skip to Main Content

I created a site on my local pc …/htdocs/wordpress/(all the sites files). Now, I need to transfer my site to the server. I am using FileZilla.

I transferred all my sites files to the /www directory, the wp-config.php points to the database correctly. I also imported my local database to the server database and changed the wp_options table’s home and siteurl values to this url: http://wwwhello.com/.

Then, in the WordPress admin dashboard Settings page I changed the Site Address (URL) and WordPress Address (URL) to the same http://wwwhello.com/. And then I get logged out and get this error:

The requested URL /wp-login.php was not found on this server.

I cannot access my site online nor my admin dashboard. What is the issue?

I tried renaming the .htaccess file to see if the problem is in it but it didn’t help. In the wp-config.php I included these lines:

define('WP_HOME','http://wwwhello.com/');
define('WP_SITEURL','http://wwwhello.com/);

It didn’t help.

2

Answers


  1. The error that you have mentioned occurs when WordPress login page is not being recognized or is missing. Make sure that the wp-login.php file is present in the root directory of your WordPress installation on the server. If it’s missing, you might need to upload it again.

    Login or Signup to reply.
  2. I have encountered a similar issue; it turned out to be a file permission problem. Make sure that folders and files have the correct permissions set.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search