{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2450","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2450/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2450/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2450/events","html_url":"https://github.com/Automattic/wp-calypso/issues/2450","id":126768281,"number":2450,"title":"Domain Management: back button breaks after changing Primary Domain","user":{"login":"designsimply","id":1119271,"avatar_url":"https://avatars.githubusercontent.com/u/1119271?v=3","gravatar_id":"","url":"https://api.github.com/users/designsimply","html_url":"https://github.com/designsimply","followers_url":"https://api.github.com/users/designsimply/followers","following_url":"https://api.github.com/users/designsimply/following{/other_user}","gists_url":"https://api.github.com/users/designsimply/gists{/gist_id}","starred_url":"https://api.github.com/users/designsimply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designsimply/subscriptions","organizations_url":"https://api.github.com/users/designsimply/orgs","repos_url":"https://api.github.com/users/designsimply/repos","events_url":"https://api.github.com/users/designsimply/events{/privacy}","received_events_url":"https://api.github.com/users/designsimply/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Domains","name":"Domains","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Pri]%20Low","name":"[Pri] Low","color":"fef2c0"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T23:01:10Z","updated_at":"2016-05-05T17:43:22Z","closed_at":null,"body":"Raised by @umurkontaci \r\n\r\nSteps to reproduce:\r\n\r\n1. Go to https://wordpress.com/domains/manage\r\n1. Select a site with a custom domain as the primary domain that also has an additional custom domain\r\n1. Click on a domain that is not currently the primary domain\r\n1. Click Make Primary\r\n1. Click Update Primary Domain\r\n1. Click the back button in the browser\r\n\r\n<strong>Result:</strong> when we change the Primary Domain, all the previous URLs become invalid since we are using primary domain slug in the URLs. As a consequence, back button breaks once the user changes their Primary Domain.\r\n\r\nIt's practically close to impossible fix all the previous URLs, but we can at least show something user friendly in the back button.\r\n\r\n/cc: @rads @gziolo"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/217222752","html_url":"https://github.com/Automattic/wp-calypso/issues/2450#issuecomment-217222752","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2450","id":217222752,"user":{"login":"hoverduck","id":7233112,"avatar_url":"https://avatars.githubusercontent.com/u/7233112?v=3","gravatar_id":"","url":"https://api.github.com/users/hoverduck","html_url":"https://github.com/hoverduck","followers_url":"https://api.github.com/users/hoverduck/followers","following_url":"https://api.github.com/users/hoverduck/following{/other_user}","gists_url":"https://api.github.com/users/hoverduck/gists{/gist_id}","starred_url":"https://api.github.com/users/hoverduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoverduck/subscriptions","organizations_url":"https://api.github.com/users/hoverduck/orgs","repos_url":"https://api.github.com/users/hoverduck/repos","events_url":"https://api.github.com/users/hoverduck/events{/privacy}","received_events_url":"https://api.github.com/users/hoverduck/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T17:43:22Z","updated_at":"2016-05-05T17:43:22Z","body":"05May16 Bug Scrub\r\n\r\nConfirmed this is still an issue.  After executing the repro steps in the original post, clicking the Back button once has no affect, but clicking the second time takes me to /domains/manage where I'm prompted to (re)select a site."}}