Visible pages don't become invisible anymore after changing the URL