• Hi all. New to WP and need some newbie help.
    I installed WP this morning and everything went great. I logged in after installing to start setting up and changed the blog address in the Options to: mydomain.com instead of mydomain.com/wordpress.
    But it doesn’t work. It gives me this error message when trying to view my blog: The requested URL /index.php was not found on this server.
    How do I park the blog on: mydomain.com ?
    Thanks ahead of time.

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter essfingers

    (@essfingers)

    Well, I moved index.php to the same directory where index.html is and my blog doesn’t work.
    I’ve changed the ‘site_url’ back and forth with the index.php file in different directories and I can’t get it to work.
    Thanks for all your help though podz. You’ve been extremely patient and helpful.

    Hopefully someone who has this ‘two directories’ thing will pop up and help 🙂

    Thread Starter essfingers

    (@essfingers)

    Yay! I finally got it. I needed to remove the index.html file from the root directory. With just the index.php file there it works perfectly fine. No need to change the ‘site_url’ and ‘home’ values either.
    Thanks again podz. 🙂

    Hey podz, I’m having the same problem as ESSFingers. I used the tutorial on the wordpress site. The problem is that my index.php consists of 3 lines. I divided it up into header.php, posts.php, and footer.php. This is what I have there right now:
    ‘<?php include(‘/public_html/wp/wp-includes/header.php’) ?>
    <?php include(‘/public_html/wp/wp-includes/posts.php’) ?>
    <?php include(‘/public_html/wp/wp-includes/footer.php’) ?>

    Then in my header.php file, I changed the 2nd line to what the tutorial said. Basically, it’s not working. I keep getting an error message when I go to http://asianglow.net
    Do I still need to keep an index.php in my /wp folder?
    I want my blog to be shown at http://asianglow.net rather than http://asianglow.net/wp.
    Thanks a lot!

    What happens if you take
    /public_html
    out of each of the above lines ?

    Nothing is working! I tried with just /wp-includes/footer.php, and I still got error messages left and right. I undid what I changed in the header.php, and now my asianglow.net/wp doesn’t even work. I think I might just delete this whole thing and set up in my root directory. I don’t understand what’s going on.

    I’ve also done /wp/wp-includes/footer.php, and it says it doesn’t exist.

    podz, I fixed it! The correct code is

    <?php include('wp/wp-includes/header.php') ?>
    <?php include('wp/wp-includes/posts.php') ?>
    <?php include('wp/wp-includes/footer.php') ?>

    Thank you very much!

    Rah !

Viewing 9 replies - 16 through 24 (of 24 total)

The topic ‘WP at wrong location?’ is closed to new replies.