Title: 404 error after wp-login.php
Last modified: August 18, 2016

---

# 404 error after wp-login.php

 *  [jodeci](https://wordpress.org/support/users/jodeci/)
 * (@jodeci)
 * [22 years ago](https://wordpress.org/support/topic/404-error-after-wp-loginphp/)
 * Hi, I’m checking out WP1.2 (waiting for both MT3 and WP2!). I did a Fantascio
   install the other day and WP ran fine, but I prefer getting my hands dirty so…
   
   I followed the 5 minute install instructions, got as far as the first login page,
   filled in admin and the random password (yes, I’m sure they’re correct), hit “
   OK”, and got a 404 error. I have WP installed under /wordpress (yes, MySQL configs
   are correct), requested that the blog be filed under /blog (no, the folder was
   not created!). I’m running on Apache1.3.29/PHP4.3.3/MySQL4.018. I have little
   PHP knowledge, prior to this, I added this in my .htaccess to do PHP includes:
   php_value include_path .:/home/jodeci/public_html/assets I’m wondering is this
   messing up all the includes? Any help appreciated 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [welsper](https://wordpress.org/support/users/welsper/)
 * (@welsper)
 * [22 years ago](https://wordpress.org/support/topic/404-error-after-wp-loginphp/#post-62225)
 * Sounds like you followed the standard install instructions, which would mean 
   you need to put the URL for the blog to the same directory as to where the files
   are. /wordpress instead of /blog.
    There are alternate install instructions if
   you want to do what you are doing… those can be found in the wiki.
 *  [kabatoff](https://wordpress.org/support/users/kabatoff/)
 * (@kabatoff)
 * [22 years ago](https://wordpress.org/support/topic/404-error-after-wp-loginphp/#post-62230)
 * I’m actually having a similar problem, execpt I get a straight-away 404 when 
   I click on the ‘login’ link from my index.php page. Should I clean install? If
   so what is the correct way to go about doing so? (I ask because I reinstalled
   and I did not resolve the problem). Thanks.
 *  Thread Starter [jodeci](https://wordpress.org/support/users/jodeci/)
 * (@jodeci)
 * [22 years ago](https://wordpress.org/support/topic/404-error-after-wp-loginphp/#post-62301)
 * Thanks, but I went through those FAQs before installing. Going through server
   files, I now see what the problem is.
    1. I seem to have WP installed (under /
   wordpress). That’s what install.php says now. 2. During my semi-successful installion,
   install.php (step 2?) asked me where I’d like the blog to be. Following directions,
   I gladly put down /blog. 3. As a result, the folder /blog was not created. wp-
   login.php leads to a 404. 4. But wait, there it is! index.php was created under/
   wordpress! 5. Now, index.php assumes the blog is under /blog (which was my fault),
   resulting in all the 404s. Only now the wiki FAQ makes sense to me. Should this
   be moved to bug report? I mean, what’s the point of letting someone enter a different
   folder name other than /wordpress, when this is NOT the correct way to do it?
   Not taking this personally, buy hey, I *was* following directions. Look where
   it got me 🙁

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘404 error after wp-login.php’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [jodeci](https://wordpress.org/support/users/jodeci/)
 * Last activity: [22 years ago](https://wordpress.org/support/topic/404-error-after-wp-loginphp/#post-62301)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
