Forum Moderators: phranque

Message Too Old, No Replies

htaccess for second wordpress instalation

example.com/blog/ redirects to http://www.example.com

         

Purposeinc

11:27 am on Aug 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi!

I am a dumbass with htaccess even after trying my hardest to study it, I have never found a beginning study simple enough for me to understand :)

Here is my problem oh wise ones!

I just installed a second wordpress installation.

My first one is located at example.com/blog/
The installation is located at example.com/2ndblog/

I had originally just used an htaccess file in the root directory of the whole site to do what I needed to do.

I just found that I needed another one in the example.com/2ndblog/ to handle the urls in the 2nd blog.

When I enter example.com/blog/ or any variation of that, my nifty htaccess file returns http://www.example.com/blog/ exactly the way it should.

When I enter example.com/2ndblog/ however it returns http://www.example.com/ which is not what I want it to do.

I am guessing the problem is with the root htaccess file and not with the one in the blog, but I am not sure?

Help?

jdMorgan

5:35 pm on Aug 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think that's the same thing we're discussing over here [webmasterworld.com].

Jim