All internal links are relative, except the link to main page which is absolute. No absolute links in css or template.
Now I was checking for broken links and found that two pages refer to parked domain. Cross checked everything but couldn’t find anything. Say the domains are: www.mydomain.com (main domain) and www.midomain.com (parked domain). I open the site as www.mydomain.com, hover on the contact link and see www.mydomain.com/contact.html in the bottom bar in the browser. I click the link and see "opening page www.midomain.com/contact.html" in the bottom bar in the browser. When the page is loaded, the address bar still reads www.mydomain.com/contact.html but all internal links are changed to www.midomain.com/whatever.
I am totally confused. Where this redirection is coming from?
I have modx 10 version and friendly urls.
I have HOST: www.mydomain.com in robots.txt file.