I have 2 wordpress websites. One at site.com and the other at site.com/blog.

I want to go to administration of site.com/blog, but when I point to site.com/blog/wp-login.php or site.com/blog/wp-admin/ and login, it goes to site.com/wp-login!!!! (Both wordpresses have the same user/passwords)

Please help me stay at when I point the browser to!


You have to define the home url, in the installation folder of site.com/blog:

define( 'WP_HOME',' http://site.com/blog' );
define( 'WP_SITEURL', 'http://site.com/blog' );

I think this can solve your problem.

  • In the wp-config.php – user33578 Jun 1 '13 at 6:27
  • Sorry, I was very new to wordpress, I got that it was a very simple question! Thank you :) – smhnaji Jun 1 '13 at 6:43

Your Answer

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 or ask your own question.