LOCALHOST/WORDPRESS/WP

      26
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
Share
Improve sầu this question
Follow
asked Jan 21 "15 at 17:15
*

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

2 Answers 2


Active sầu Oldest Votes
5
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.

Cheers!

=C=


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

Cal EvansCal Evans
65744 silver badges88 bronze badges
2
Add a phản hồi |
1
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.


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

justjoejustjoe
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
Submit

Post as a guest


Name
Email Required, but never shown


Post as a guest


Name
E-Mail

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
Related
16
Why does my page redirect to localhost in my wordpress blog?
0
Magento Wordpress Integration tự động login is not working
1
url rewriting in wordpress of wp-admin
1
I can't login on wordpress admin page
0
WordPress Site wp-admin URL issue
0
wordpress wp-admin redirect
1
wordpress adminpanel login redirect to lớn same login page on localhost
1
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.


*

lang-php
Stachồng Overflow
Products
Company
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.