• I have installed WordPress locally with wp-cli on macOS 10.11 including macOS Apache. localhost/wp-admin works fine. Is it normal that I cannot reach my install with localhost/admin? I would appreciate your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Yes. The admin is at wp-admin, not admin. You should get a 404 on the latter.

    Thread Starter danielhoe

    (@danielhoe)

    I know, but when I try to access my projects online, /admin works and redirects to wp-login.php.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It may be that .htaccess is ignored on your localhost setup.

    In Apache’s config, try adding this:

    <Directory /path/to/wordpress/root>
      AllowOverride All
    </Directory>

    then restart apache.

    Thread Starter danielhoe

    (@danielhoe)

    Success. Modified /etc/apache2/users/username.conf and now it works. Thank you for your quick help Steve.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘localhost/admin not found’ is closed to new replies.