Problem "The requested URL /wp-login.php was not found on this server." in wordpress, what to do? [closed]

0

Hello,

I have a big problem related to the site of the Laboratory for which I have a scholarship.

My tutor asked me to make some changes to the Lab site developed on the WordPress platform. He asked me to do one thing and I ended up doing another one out of pure "curiosity." As I am not a programmer, I was "browsing" the online editor of WordPress for an idiotic I decided to delete the wordpress that I had after the website link in the editor: the site was "www.prologis.ufsc.br/wordpress" and I changed it to "www.prologis.ufsc.br". Since then the site has got the layout unconfigured and I can no longer access the online editor of WordPress to revert the change made, because whenever I go logar a page appears with the error:

  "The requested URL /wp-login.php was not found on this server. Apache / 2.4.7 (Ubuntu) Server at www.prologis.ufsc.br Port 80"

After having searched, I understood that I should change this directly on the server. I accessed the University server via SFTP, and as recommended by an article in the WordPress forum for cases like mine, I added the lines:

define('WP_HOME','http://prologis.ufsc.br/wordpress');
define('WP_SITEURL','http://prologis.ufsc.br/wordpress'); // no arquivo wp-config.php.

Then the situation got worse: before, the site was left with the layout unconfigured. After that change, the site went completely blank.

Does anyone know what the right change to make and what file to revert this error?

Thank you.

    
asked by anonymous 26.05.2015 / 16:36

1 answer

1

If you changed the directory of the files to the root of the site, you should add the following lines in wp-config.php (without the WordPress folder at the end):

define('WP_HOME','http://prologis.ufsc.br/');
define('WP_SITEURL','http://prologis.ufsc.br/');
    
23.09.2015 / 22:01