• OK folks, I’m desperate for some help; it has been 3 days since these errors began and I even had Bluehost support try to help me on the database, which didn’t work.

    here is my podcast/blog: https://OurCatechism.com

    this returns the error:
    Warning: require(wp-blog-header.php) [function.require]: failed to
    open stream: No such file or directory in /home/ourcatec/public_html/
    index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘wp-
    blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’)
    in /home/ourcatec/public_html/index.php on line 17

    using this link is supposed to redirect to: https://OurCatechism.com/BroPorter/

    and the website loads without incident.
    Suggestions, please? Most grateful for the help.
    Rickey

Viewing 4 replies - 1 through 4 (of 4 total)
  • It can’t find your wp-header.php. Does that file actually exist in your public_html or the root installation of your website? It looks to me that your installation is in a folder called BroPorter instead of in the root of your domain. If that is the case, you’ll need to move your entire installation into your public_html (or root directory) and update your WordPress URL and Blog URL to match the new location.

    It may be possible that you had a redirect in there, too. If you want to set that up again, you can go into the cPanel, click on Redirects, and set up a redirect from yourdomain.com to go to yourdomain.com/BroPorter

    Thread Starter mbphvice

    (@mbphvice)

    BroPorter is where installation of my WP files; however there is a wp-blog-header file in that folder, you wrote wp-header.php, did you really mean that file name?
    In index.php file here is what is written in the file:
    “/** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.php’);

    Isn’t that what it is advising is missing on line 17? I did upload again from wordpress folder the wp-blog-header.php file.

    I’m getting different errors now. If you click on the homepage https://ourcatechism.com now you get a directory listing; if you click on BroPorter it will load the site correctly.

    The site is supposed to allow someone to type in https://ourcatechism.com and they will be redirected to the https://ourcatechism.com/BroPorter (which is where WP and Blog is located).

    What is next step and I apologize if I’ve misunderstood.
    Thanks.
    rickey

    The site is supposed to allow someone to type in https://ourcatechism.com and they will be redirected to the https://ourcatechism.com/BroPorter (which is where WP and Blog is located).

    You explained what I was wondering. Firstly, your site is not in your root directory, which is why you are getting all those errors, second, you once had a redirect which is no longer functioning. In order to recreate that redirect, you should be able to do so through your cpanel. There is an icon in there which says “Redirects” Just click that and set up your redirect to take it from yourdomain.com to yourdomain.com/BroPorter

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect not working and error at home page’ is closed to new replies.