Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jujujiju Friend
    #964373

    Hello! How I can do to make search results plugin "JA K2 Filter" are not indexed by Google ?. Thank you very much for your help

    Mo0nlight Moderator
    #964780

    Hi

    You can try this tweak:

    • Edit the file : /components/com_jak2filter/views/itemlist/view.html.php

    • Look for the code around line 288:
    case 'search' :
                    // Set layout
                    $this->setLayout('category');

    Add this code underneath it:

    $doc = JFactory::getDocument();
                    $doc->setMetaData('robots', 'noindex');

    Regards

    jujujiju Friend
    #965502

    Thank you very much! I will make the changes to the file. How will I know if take effect?

    Mo0nlight Moderator
    #965657

    Hi.

    It’s follow these instruction of google.
    https://support.google.com/webmasters/answer/93710?hl=en

    Regards.

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

This topic contains 3 replies, has 2 voices, and was last updated by  Mo0nlight 8 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum