WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.