WordPress- url for localhost wp-admin is not working

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.

Read More

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.

Related posts

Leave a Reply

2 comments

  1. 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:

    select * from wp_options where option_name='siteurl' or option_name='home';
    

    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=

  2. 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.