ONE answer to install OK but can’t login as admin
-
I found this answer on the site, but not where I expected to search for it – i.e. it was in a step3 of install question. This problem presumes you have sucessfully completed the install, but when you attempt to login using the admin username and the random password, you get a “file not found” page.
My guess is that your wordpress files are in a subdirectory of your root – or your alias in your config file (if using Apache) is a subdirectory. Anyway you do it, when you type in the URL to get to the install files it’s something like “https://localhost/YourWordpressDir/wp-admin/install.php” rather than “https://localhost/wp-admin/install.php” (It doesn’t matter if it is “https://your.domain.com/…” rather than “https://localhost/…” the point is there is a directory that WordPress is installed in, rather than being installed to the root fo your site).
Phew. So, if this is true, here is a possible solution.
In step 2 (yes – you’ll have to delete your tables in the database and start the install over, but by now you’ve probably already done that a few times. ?? ) when the install program “guesses” your directory, make sure it ALSO INCLUDES THE DIRECTORY WHERE WORDPRESS IS INSTALLED . So, instead of just “https://localhost/” it should be “https://localhost/YourWordpressDir/” In otherwords – everything BEFORE the “wp-admin/install.php” of the page you’re sitting at in step 2.
Now, complete the install, and voila! You can log in as admin!
- The topic ‘ONE answer to install OK but can’t login as admin’ is closed to new replies.