What I mean by example is that my initial address is http://www.x.com and I use the vanity URL http://www.y.com. When I visit the site with the address http://www.y.com I see the http://www.y.com address.
When I click on the calendar button I see the http://www.x.com/calendar address and when go back to the home page see the http://www.x.com address.
I replaced the http://www.x.com with the http://www.y.com at the General settings but then the http://www.x.com/calendar doesn’t work.