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

Asked

Viewed 1,981 times

0

Hello,

I have a big problem related to the Laboratory website whose scholarship.

My guidance teacher 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, out of sheer "curiosity." As I am not a programmer, I was "sniffing around" the online Wordpress editor for an idiotic decision to delete the /wordpress that I had after the site 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 was with the disfigured layout and can no longer access the online editor Wordpress to reverse the change made, because whenever I log in appears a page 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, 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 with the disfigured layout. After this change, the site was all white.

Does anyone know the right change to make and in which file to reverse this error?

Thank you.

1 answer

1

If you have changed the file directory to the site root, you should add the lines as follows on wp-config.php (without the folder WordPress in the end):

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.