Forums

[resolved] redirecting WP blog to become homepage of site, help! (18 posts)

  1. felsull
    Member
    Posted 6 years ago #

    Greetings All,

    I am not tech savvy, so help! I recently created a WP account and my blog is all set up here:
    http://www.feliciasullivan.com/wp/

    however, i want the above page to replace my home page: http://www.feliciasullivan.com

    how do i do this?

  2. moshu
    Member
    Posted 6 years ago #

    So, why don't you move the WP install to the root from where it is now?

  3. Kafkaesqui
    Moderator
    Posted 6 years ago #

    Simplest method is outlined here:

    http://wordpress.org/docs/installation/different-address/

    The slightly more difficult one is alluded to by moshu.

  4. felsull
    Member
    Posted 6 years ago #

    that, regrettably, did not work well.

  5. moshu
    Member
    Posted 6 years ago #

    Which one didn't work?

  6. felsull
    Member
    Posted 6 years ago #

    okay, i think i fixed it....will try your link now, thanks!

  7. felsull
    Member
    Posted 6 years ago #

    okay, i've fixed the http://www.feliciasullivan.com, however, i'm vexed on the wp version. blank page.

  8. moshu
    Member
    Posted 6 years ago #

    If you don't have FTP how did you move them?
    And sorry, I didn't think you'd jump into it without asking or searching for "how-to"...
    So where are the WP files now?

  9. felsull
    Member
    Posted 6 years ago #

    i did look at the how to...i just didn't get it. again, i'm really not tech savvy and i felt overwhelmed. sorry, I'll log off now and try to figures this out.

  10. felsull
    Member
    Posted 6 years ago #

    okay, i've logged back on. I completed everything (all steps, although the changing dbase configuration confused me a great deal) and I received this error (i've since reverted everything back to how it was):

    Warning: main(./wordpress/wp-blog-header.php): failed to open stream: No such file or directory in /home/felsull/public_html/wp/index.php on line 4

    Warning: main(./wordpress/wp-blog-header.php): failed to open stream: No such file or directory in /home/felsull/public_html/wp/index.php on line 4

    Fatal error: main(): Failed opening required './wordpress/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/felsull/public_html/wp/index.php on line 4

  11. oriecat
    Member
    Posted 6 years ago #

    Unless you renamed your directory, which you said is wp, then wherever you put 'wordpress' you need to change it to wp, since that is your actual location.

  12. felsull
    Member
    Posted 6 years ago #

    I did that. From the directions:

    Now open up index.php and change the line that says require('./wp-blog-header.php'); to be require('./wordpress/wp-blog-header.php');

    and your note of advice, i changed the code to this:

    require ('./wp/wp-blog-header.php');

    because all my wordpress files are labeled in a folder: wp.

    Then I received this error:

    Warning: main(./wp/wp-blog-header.php): failed to open stream: No such file or directory in /home/felsull/public_html/wp/index.php on line 4

    Warning: main(./wp/wp-blog-header.php): failed to open stream: No such file or directory in /home/felsull/public_html/wp/index.php on line 4

    Fatal error: main(): Failed opening required './wp/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/felsull/public_html/wp/index.php on line 4

  13. moshu
    Member
    Posted 6 years ago #

    I am not sure what are you trying to do.
    1. Are you moving the whole WP install to the root from /wp?
    2. Moving only the index.php to the root and leaving the WP install in its /wp directory?

  14. felsull
    Member
    Posted 6 years ago #

    Option #2 (sorry!)

    All my wp files are in my wp folder, which is a folder in my public root, public_html. I'm trying to move the index.php to the root directory, which is my public_html directly (so as to replace my current index file). I hope that clarifies.

    Cheers, Felicia

  15. kickass
    Member
    Posted 6 years ago #

    I think you have to move EVERYTHING since when you try to access it can't find anything. Once everything is moved things will be in the right relative places and can find each other. I think.

  16. moshu
    Member
    Posted 6 years ago #

    OK, as I can see now everything is back as it was before this thread started.
    Take the index.php from the /wp folder which has only these lines:
    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    and change the path ./wp/wp-blog-header.php
    Move this index file to the root. It should work.

  17. felsull
    Member
    Posted 6 years ago #

    omigod, it worked!!! thank you!!!!

  18. datamanager
    Member
    Posted 5 years ago #

    dear all

    am geting this error:Fatal error: Failed opening required '../wp-blog-header.php' (include_path='.:/usr/share/pear') in /home/lighthouse/public_html/lighthouse/index.php on line 1

    please help

Topic Closed

This topic has been closed to new replies.

About this Topic