Hello, I need a solution for this: I have lots of wp blogs installed in sub domains like: www . mysite . com /wordpress when i use bloginfo( 'url' ), it shows the blog url. Is there any way which will output www . mysite . com ? I just want to avoid any hard coded values. Any suggestion will be very much appreciated. Thanks
Thats because you installed your wordpress in a sub directory. I don't think you can call your main domain without custom function. Read here. http://codex.wordpress.org/Function_Reference/bloginfo Create a custom function to echo your main domain. Insert those code in your functions.php file. There after you can call maindomain() wherever you need that url. All the best
Hi viruthagiri, thank a lot for your reply. I had read the function reference page, and i had created my own function to do it. And it works good