• Resolved timondeks

    (@timondeks)


    I downloaded and installed wordpress on my site and the included theme blog page shows up fine. Is it possible for me to ‘feed’ the blog to the content area of my index page or do I need to convert/change my old home page to a wordpress page? Also if I do this how do I make sure that when people enter my address in a browser they are brought to the wordpress home page and not the old index?

Viewing 8 replies - 1 through 8 (of 8 total)
  • MichaelH

    (@michaelh)

    To make WordPress available at https://mydomain.com in Settings->General, change the Blog address (URL) to https://mydomain.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./blog/wp-blog-header.php');
    ?>

    Then update your permalinks by visiting Administration > Settings > Permalinks and clicking on Save Changes.

    Then use the Settings->Reading static front page feature to accomplish your ‘old home page’.

    Thread Starter timondeks

    (@timondeks)

    Thanks for the reply, I did as you described but when I enter my web address (www.waxbotanical.com) in firefox I still get my old home page.
    Does the index.php file you listed just include the above text nothing else? Also did you mean that I would definitily have to transfer/rebuild my old design in a wordpress template as there would be no way for me to insert my wordpress blog into the HTML of my old home page?

    MichaelH

    (@michaelh)

    If you have an index.html you would need to rename that. And yes that’s all the index.php file would contain. Of course this assumes your WordPress install is in the blog sub-folder of your web-root.

    And yes to using a static front page to ‘rebuild’ your old page.

    But if that is not acceptable, please read Integrating_WordPress_with_Your_Website

    Thread Starter timondeks

    (@timondeks)

    Thanks again for the help, I managed to get the blog page to show up when entering the website address in a browser. When building a template I understand that there are a few files I need but where is the location of the actual page that the blog is built on?

    MichaelH

    (@michaelh)

    Thread Starter timondeks

    (@timondeks)

    great stuff, cheers for the links

    Thread Starter timondeks

    (@timondeks)

    Ive am trying to replace my homepage with my wordpress page, I can get the page to show up when my I enter the domain name but after I made the changes in the general settings to the blog address I can no longer log into the admin. Can I manually change the blog address on one of the php files? And if so where would it be located? If not is there another way to chenge the address so I can log into admin again?

    Thread Starter timondeks

    (@timondeks)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘integration with an old site’ is closed to new replies.