• Hello,
    I designed a site for a friend who wants a static portfolio site (4 pages) but blog output on the front page. I have the old site up and I don’t want to take it down until I have the new one ready. I have the site hosted at bluehost and I have the old site on one domain and the blog on a subdomain and the new site on my local machine. I followed several tutorials on how to insert the php code from the loop into the front page to make it work, I guess my problem is that the blog installation is actually on a sub domain. How can I make the index page link to the sub domain blog without using iframes etc.?
    Thanks for any help,
    Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am not sure I understand what the problem is.
    There is a site:
    example.com – (hosted on BH) and it has 4 pages.
    I assume on of those should be an index. If you want to use it to display blog stuff, make it index.php
    Then there is a blog in a subdomain:
    blogsubdomain.example.com – is this right?

    And do you want posts or whatever from blogsubdomain.example.com to be displayed on example.com/index.php` ?

    You don’t need any iframe and similar crappy stuff.
    see The_Loop and The_Loop_in_Action.
    Also, this might be useful:
    http://www.transycan.net/blogtest/2005/07/05/integrate/

    Thread Starter med103

    (@med103)

    Hey thanks for the reply. I’ve been using that tutorial and about 5 others. You pretty much have it right I want blog.example.com posts to show on example.com. I think part of it maybe that I need to change the index to .php.

    Let me see if I have this right though. If I copy the php parts from the default installation on blog.example.com to example.com/index.php. The posts will appear?
    Thanks,

    They will, if you make the index.php file in the root “WP aware” – see the explanation and the code here:
    http://www.transycan.net/blogtest/2005/07/05/integrate/2/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blog On A SubDomain’ is closed to new replies.