• Following this tutorial:
    https://www.tamba2.org.uk/wordpress/xampp/

    I’m getting an Error 404 File Not Found. All seemed well, but when it says

    Copy those details into your wp-config file, and save it as wp-config.php

    I am assuming I just save the wp-config sample file without the sample in the title. I didn’t see that WordPress creates a config file that I could edit.
    The only other question mark was when it says

    Now you need to copy the files to the right place. Click the Start button, followed by My Computer > Main drive > Xampplite > htdocs
    Copy the whole WordPress folder into this directory.

    Should all WordPress files be loose in the htdocs folder, or within their own WordPress folder?

    Thanks so much for the help! Any suggestions are much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am assuming I just save the wp-config sample file without the sample in the title.

    That would be correct.

    Should all WordPress files be loose in the htdocs folder, or within their own WordPress folder?

    That’s up to you. If you want it in it’s own folder then by all means do so.

    Thread Starter thecapper

    (@thecapper)

    Okay, then, it appears I haven’t done anything wrong with the WordPress installation. All seems fine with Xampp…I wonder if it could be a setting somewhere that just needs to be changed…
    I’m at a loss :[

    Here’s what happened to me when I used xampp lite. It wouldn’t work because of the newer php. So I installed the full version of xampp and switched it to the older version php and it worked great. Except my computer would quickly fizzle out after a few edits and saves while working on a theme. I’m quite the novice, but I would like to find a way to use xampp successfully on my old computer.

    You aren’t very clear on where the 404 error comes in. At what point do you see that?

    Thread Starter thecapper

    (@thecapper)

    Sorry, doodlebee! Everything looks good until the last step. It says:

    In your browser, go to https://localhost/wordpress/wp-admin/install.php and everything from there should run smoothly !

    So even though the Xampp control panel says MySql and Apache are running ok, and I can see that the WordPress database exists, I get the error like it can’t find my WordPress database.

    It’s probably something so simple that I didn’t do…

    Then I would say you’ve placed the files in the wrong folder. Open up your xampp/apache/conf/httpd.conf file in a text editor (like Notepad). Look for: “Document Root” around line number 176. See what that folder is set at. By default, it’s what you said:

    DocumentRoot “C:/Program Files/xampp/htdocs”

    When you open up your browser, you should be able to type in:

    “localhost”

    in the address bar, and you’ll see a splash page for XAMPP. If that’s so, then everything is set up correctly. Then I would guess you’ve placed the WordPress files in the wrong directory. They should be in xampp/htdocs/wordpress – *if* you’ve placed it in their own folder. If you just uploaded the files, it should be xampp/htdocs/wp-admin (or “localhost/wp-admin” in your browser’s address bar)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Local install with Xampp, get Error 404’ is closed to new replies.