Forums

[resolved] How do I replace my existing website with a wordpress site? (17 posts)

  1. alanfinn
    Member
    Posted 1 year ago #

    Hello,
    I am trying to replace my existing site (http://www.alanfinn.com) with a wordpress based site.
    I have installed WP and uploaded everything to my root folder. I've configured all the MySQL settings and have activated my WP account. I can view the WP dashboard and write blog posts etc, but when I click on 'view site' I am directed to my 'old' website homepage.
    I have tried deleting the my index.html page from my root folder using FTP and then trying to click 'view site' on the WP dashboard, but that just gives me an access denied message.
    How can I remove my old site and replace it with my new wordpress blog?
    Thanks, Alan

  2. Interesting. I went to http://www.alanfinn.com/index.php and it said 'No input file specified.'

    That usually means you don't have an index.php file uploaded. Check for that.

  3. Diane Bourque
    Member
    Posted 1 year ago #

    Did you delete index.html from your server? This file will precede index.php. Make sure you have index.php installed cause WordPress can't work without it.

    Websites need and index page but index.html will take over index.php if it's still on the server.

  4. alanfinn
    Member
    Posted 1 year ago #

    Thanks for replying,
    I have deleted index.html and made sure index.php is in the root directory, now when I go to http://www.alanfinn.com/index.php all I get is a blank page...
    any other ideas?

  5. Diane Bourque
    Member
    Posted 1 year ago #

    Did you reload index.php?

  6. alanfinn
    Member
    Posted 1 year ago #

    yep, have reloaded it... still just get a blank page.

  7. Diane Bourque
    Member
    Posted 1 year ago #

    Where is your website hosted?

  8. alanfinn
    Member
    Posted 1 year ago #

    In my WP admin screen, should I set the wordpress address (url) to http://www.alanfinn.com/index.php or something like that?
    At the moment blog address and WP address are set to http://www.alanfinn.com.

  9. alanfinn
    Member
    Posted 1 year ago #

    It's hosted at one.com,
    do I have to ask them to change any settings at their end?

  10. No, it should be http://www.alanfinn.com

    What's the content of your index.php file?

  11. alanfinn
    Member
    Posted 1 year ago #

    index.php file is as follows;

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>
  12. Okay, that's good.

    Are yuo using a special theme or the default 2010?

  13. Andrea_r
    team pirate
    Posted 1 year ago #

    A blank white page like that means a php error.

    If this is a fresh WordPress install, you may have missed some files & folders or have them in the wrong place.

  14. alanfinn
    Member
    Posted 1 year ago #

    Default theme for now, I'll be using 'vigilance' theme once this is all up and running, but best keep it simple at first.

  15. alanfinn
    Member
    Posted 1 year ago #

    Hi Andrea,
    I've re-uploaded all files & folders, lifting them straight from the unzipped WordPress folder and dropping them into my root folder.

  16. alanfinn
    Member
    Posted 1 year ago #

    Sorted. It turned out that the wp-blog-header.php file was indeed missing.
    I discovered that turning on 'php error messages' on my server control panel was very helpful because instead of getting a blank page, an error message comes up saying exactly which file(s) are missing.
    Thanks everyone for your help!

  17. cutegirl
    Member
    Posted 1 year ago #

    if the page is blank , it means that the network system cannot find your your main index page. and you must give a path for index to load a main page.

Topic Closed

This topic has been closed to new replies.

About this Topic