• Hello All,

    I am having a bit of an issue. I had a domain up but started a company and grabbed a new domain, which then I changed the old site to the new inside the settings of the WordPress site. Sometimes my site doesn’t load everything correctly and looking at the code I have a <link rel=”dns-prefetch” href=”//ocdronepilotforhire.com”> but this is the old site, so what I need to know is what file is this located in to change it to the new? I looked and even did a file wide search, sadly I came up empty.

    I also have a stylesheet that comes up using the old domain, I deactivated it then activated the template and it comes up short. I am assuming these 2 edits are in the same file but again, I came up short.

    Thanks for your knowledge and time,
    Brad

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Brad,

    Navigate for the file header.php on your themes folder. If you have a child theme, look from there first. If you found the file, look this time for <link rel=”dns-prefetch” href=”//ocdronepilotforhire.com”> which most likely is located above </head> tag. (The </head> is always on top of the header.php file.) Then update the href link to reflect the new website.

    Thread Starter bchism

    (@bchism)

    Hi Bigacelloy,

    Thank you. Sadly it wasn’t that easy, it was built into a function that gets called and was being stored in the database with this template. Odd but I fixed it.

    Thank you for giving me a direction though, all was not lost.

    Brad

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘DNS_Prefetch + Old Domain – How can I change this from the old to the new?’ is closed to new replies.