I am working in a project with wordpress, it was working properly but I think I have changed some setting in wordpress setting-general option.
So now when I type localhost/wordpress-demo/wp-admin/
then it redirected me to http://localhost/wordpress-Demo/Home/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fwordpress-Demo%2Fwp-admin%2F&reauth=1
url.
wordpress-demo is my root folder that I have created
but it is giving me error like this:
Not Found
The requested URL /wordpress-Demo/Home/wp-login.php was not found on this server.
I have typed Home in somewhere setting.
So can you please give me some suggestion for work it properly and give me the name of url-mapping file name.
If you can’t get to your admin page then you will have to use a database tool to check this.
In a database tool (phpMyAdmin will work) enter this:
These are the 2 places that WordPress stores your URL. See if either of them have /home/ in it. If so, correct it and it should fix the problem.
Cheers!
=C=
Login in phpmyadmin > wp_options > edit the value for site_url and home_url to your site;
This occur needs to be changed when you’re migrating. If still not working try renaming your .htaccess in root directory.