When I am downdloading wordpress and manually installing it, then mysite.com/admin working which opens the admin panel. But when I am insatlling wordpress using WP CLI /admin not redirecting to admin panel.

Can anyone help me to findout the issue.

Using command as below::

wp core download --allow-root
wp core config --dbname=wp --dbuser=root --dbpass= --allow-root
wp db create --allow-root
wp core install --url=localhost/rana/wordpress/ --title='wordpress' --admin_user='wordpress' --admin_password='wordpress' --admin_email=admin@localhost.com --allow-root

1 Answer 1


WordPress Admin is accessible through the url: mysite.com/wp-admin/

The only exception to this is if you have a plugin which explicitly changes this, but most sites will be at /wp-admin/

  • Yes I know that can access through mysite.com/wp-admin/ but it also accessible through mysite.com/admin.
    – Rana Ghosh
    Jun 21, 2017 at 11:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.