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.

Bạn đang xem: Localhost/wordpress/wp

So now when I type localhost/wordpress-demo/wp-admin/ then it redirected me to lớn 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 thư mục that I have created

but it is giving me error lượt thích this:

Not FoundThe requested URL /wordpress-Demo/Home/wp-login.php was not found on this VPS.

I have typed Home in somewhere setting.So can you please give sầu me some suggestion for work it properly and give sầu me the name of url-mapping tệp tin name.

php wordpress .htaccess wordpress-theming
Improve sầu this question
asked Jan 21 "15 at 17:15

Manoj GuptaManoj Gupta
29811 gold badge44 silver badges20đôi mươi bronze badges
Add a phản hồi |

2 Answers 2

Active sầu Oldest Votes
If you can"t get khổng lồ your admin page then you will have to use a database tool to lớn check this.

Xem thêm: Hướng Dẫn Cách Kiểm Tra Sở Hữu Tên Miền, Check Domain Cực Nhanh, Đơn Giản

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 sầu /home/ in it. If so, correct it & it should fix the problem.



Improve this answer
edited Jan 21 "15 at 18:32
answered Jan 21 "15 at 17:42

Cal EvansCal Evans
65744 silver badges88 bronze badges
Add a phản hồi |
Login in phpmyadmin > wp_options > edit the value for site_url và home_url to your site;

This occur needs to lớn be changed when you"re migrating. If still not working try renaming your .htaccess in root directory.

Improve sầu this answer
answered Oct 22 "15 at 9:08

1122 bronze badges
Add a phản hồi |

Your Answer

Thanks for contributing an answer khổng lồ Staông chồng Overflow!

Please be sure lớn answer the question. Provide details và tóm tắt your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; bachồng them up with references or personal experience.

To learn more, see our tips on writing great answers.

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Facebook
Sign up using E-Mail & Password

Post as a guest

Email Required, but never shown

Post as a guest


Required, but never shown

Post Your Answer Disthẻ

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged php wordpress .htaccess wordpress-theming or ask your own question.

The Overflow Blog
Featured on Meta
Why does my page redirect to localhost in my wordpress blog?
Magento Wordpress Integration tự động login is not working
url rewriting in wordpress of wp-admin
I can't login on wordpress admin page
WordPress Site wp-admin URL issue
wordpress wp-admin redirect
wordpress adminpanel login redirect to lớn same login page on localhost
Unable to access wordpress site on local host - err: This localhost page can’t be found
Hot Network Questions more hot questions

Question feed
Subscribe lớn RSS
Question feed To subscribe to this RSS feed, copy & paste this URL inkhổng lồ your RSS reader.


Stachồng Overflow
Staông chồng Exchange Network
site thiết kế / logo © 2021 Stachồng Exchange Inc; user contributions licensed under cc by-sa. rev2021.8.18.40012

Staông chồng Overflow works best with JavaScript enabled

Your privacy

By clicking “Accept all cookies”, you agree Staông xã Exchange can store cookies on your device & discđại bại information in accordance with our Cookie Policy.