Forums

Accessing WordPress from a Different Directory. (5 posts)

  1. millsy
    Member
    Posted 3 years ago #

    I have wordpress installed under http://www.website.com/blog

    However on my home page at http://www.website.com/index.php I would like to now be able to display the last 5 wordpress posts, but as wordpress is installed on a different directory can / how could this be done?

  2. Samuel B
    moderator
    Posted 3 years ago #

  3. millsy
    Member
    Posted 3 years ago #

    thanks
    not sure if that is quite what I need, I still want my blog content (main wordpress index file with news list) to be at http://www.website.com/blog but I just want to be able to list some post excerpts in my main homepage, is this possible?

  4. Samuel B
    moderator
    Posted 3 years ago #

  5. millsy
    Member
    Posted 3 years ago #

    Looks good, but I am having some trouble accessing my rss feed.
    I am getting:
    Warning: include_once(ABSPATHWPINC/rss.php) [function.include-once]: failed to open stream: No such file or directory in /home/site/public_html/test.php on line 127

    Warning: include_once() [function.include]: Failed opening 'ABSPATHWPINC/rss.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/test.php on line 127

Topic Closed

This topic has been closed to new replies.

About this Topic