• Resolved NrichSystems

    (@nrichsystems)


    I am working on an Indian store where prices are in INR. Second currency is USD.
    But as Google indexes the site from US IP, it is fetching all prices in USD and showing the same in SERPS. So Indian users see prices in USD instead of INR on Google.
    Is there any way to resolve this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello

    Try to add this code in functions.php

    function isBot(&$botname = ”){
    $bots = array(
    ‘rambler’,’googlebot’,’aport’,’yahoo’,’msnbot’,’turtle’,’mail.ru’,’omsktele’,
    ‘yetibot’,’picsearch’,’sape.bot’,’sape_context’,’gigabot’,’snapbot’,’alexa.com’,
    ‘megadownload.net’,’askpeter.info’,’igde.ru’,’ask.com’,’qwartabot’,’yanga.co.uk’,
    ‘scoutjet’,’similarpages’,’oozbot’,’shrinktheweb.com’,’aboutusbot’,’followsite.com’,
    ‘dataparksearch’,’google-sitemaps’,’appEngine-google’,’feedfetcher-google’,
    ‘liveinternet.ru’,’xml-sitemaps.com’,’agama’,’metadatalabs.com’,’h1.hrn.ru’,
    ‘googlealert.com’,’seo-rus.com’,’yaDirectBot’,’yandeG’,’yandex’,
    ‘yandexSomething’,’Copyscape.com’,’AdsBot-Google’,’domaintools.com’,
    ‘Nigma.ru’,’bing.com’,’dotnetdotcom’
    );
    foreach($bots as $bot)
    if(stripos($_SERVER[‘HTTP_USER_AGENT’], $bot) !== false){
    $botname = $bot;
    return true;
    }
    return false;
    }
    add_action(‘wp_head’, function(){
    if( isBot() ){
    if (class_exists(‘WOOCS’)) {
    global $WOOCS;
    $WOOCS->reset_currency();
    }
    }
    });

    Thread Starter NrichSystems

    (@nrichsystems)

    Thanks! I have added the code. Let’s see if the currency is fixed in next indexing.

    Hello

    ok! Welcome;)

    Thread Starter NrichSystems

    (@nrichsystems)

    Hi. The issue is still there and also Mismatched [price] (page crawl) errors are increasing in Google Merchant center. Please look into this.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Google indexing wrong currency’ is closed to new replies.