Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.