Support » Fixing WordPress » Blog On A SubDomain

  • 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,

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am not sure I understand what the problem is.
    There is a site: – (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: – is this right?

    And do you want posts or whatever from to be displayed on` ?

    You don’t need any iframe and similar crappy stuff.
    see The_Loop and The_Loop_in_Action.
    Also, this might be useful:

    Hey thanks for the reply. I’ve been using that tutorial and about 5 others. You pretty much have it right I want posts to show on 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 to The posts will appear?

    They will, if you make the index.php file in the root “WP aware” – see the explanation and the code here:

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