Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #504621

    hi guys
    a quick question.
    I recently moved a site from the domain cfcnorge.com to cphfilm.no. Everything is fine except the old domain name is still showing up in the browser tab for some reason. I have changed the name on the general settings and everywhere else, and can’t see where that old info is coming from. Any ideas? see the site at http://www.cphfilm.no
    thanks
    Nancy

    #504651

    Hi Munford!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_title_tag','avia_new_title');
    function avia_new_title() {
    if(is_home()){
    $title = get_bloginfo('name');
    }
    return $title; 
    }

    Regards,
    Yigit

    #504697

    OK thanks – but can you tell me why the new name is not showing up automatically?
    I tried the code but it did not work…
    ??
    thanks for taking a look
    Nancy

    • This reply was modified 8 years, 6 months ago by Munford.
    #504700

    Hey!

    It could be some kind of server side caching as it works on your other pages.

    Cheers!
    Yigit

    #504744

    OK yes I see that – thanks. Nothing I can do about the server side caching…?

    #504748

    Hey!

    You can contact your service provider and ask if they have such caching enabled.
    If you have not changed title via custom code or hardcoded into your theme files, it should be some kind of caching.

    Regards,
    Yigit

    #505165

    thanks I will check into it

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘wrong site name in browser tab’ is closed to new replies.