{"action":"opened","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2563","repository_url":"https://api.github.com/repos/wp-cli/wp-cli","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2563/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2563/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2563/events","html_url":"https://github.com/wp-cli/wp-cli/issues/2563","id":140579848,"number":2563,"title":"Commands :: Core :: Install :: wp-cli adds \"/wordpress\" to the end of site url","user":{"login":"lots0logs","id":4675662,"avatar_url":"https://avatars.githubusercontent.com/u/4675662?v=3","gravatar_id":"","url":"https://api.github.com/users/lots0logs","html_url":"https://github.com/lots0logs","followers_url":"https://api.github.com/users/lots0logs/followers","following_url":"https://api.github.com/users/lots0logs/following{/other_user}","gists_url":"https://api.github.com/users/lots0logs/gists{/gist_id}","starred_url":"https://api.github.com/users/lots0logs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lots0logs/subscriptions","organizations_url":"https://api.github.com/users/lots0logs/orgs","repos_url":"https://api.github.com/users/lots0logs/repos","events_url":"https://api.github.com/users/lots0logs/events{/privacy}","received_events_url":"https://api.github.com/users/lots0logs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-14T05:28:35Z","updated_at":"2016-03-14T05:28:35Z","closed_at":null,"body":"### Problem\r\nWhen running `core install` command, wp-cli always puts `/wordpress` at the end of the site url regardless of what you pass to it via command arguments or place in `wp-cli.yml`.\r\n\r\n### Steps To Reproduce\r\n1. Create `wp-cli.yml` as shown below.\r\n2. `~/wp-cli.phar core download`\r\n3. `~/wp-cli.phar core config`\r\n4. `~/wp-cli.phar core install --admin_user=wpdev --admin_password=wordpressdev --admin_email=admin@somesite.com --skip-email=true --title=WordPress --url='http://wpdev.dev:8080'`\r\n5.  `~/wp-cli.phar option get siteurl` shows that siteurl has `/wordpress` tacked on the end of it.\r\n\r\n### Additional Notes:\r\n#####: `~/wp-cli.yml`:\r\n`yml\r\npath: /home/ubuntu/wordpress\r\nurl: 'http://wpdev.dev:8080'\r\nuser: wpdev\r\ndebug: true\r\nallow-root: true\r\ncore config:\r\n  dbhost: localhost\r\n  dbname: wordpress\r\n  dbuser: ubuntu\r\n  dbpass: \r\n  extra-php: |\r\n    define( 'WP_DEBUG', true );\r\n    define( 'WP_DEBUG_LOG', true );\r\n    define( 'WP_SITEURL', 'http://wpdev.dev:8080' );\r\n    define( 'WP_HOMEURL', 'http://wpdev.dev:8080' );\r\n```\r\n#####: Server Environment\r\n* Ubuntu 12.04\r\n* PHP 5.5.2\r\n* PostgreSQL 9.4\r\n* Apache 2.2.22"}}