Only homepages in google search. HOW to do

Discussion in 'Search Engine Optimization' started by crazybuoy, Jul 12, 2016.

  1. #1
    I want google search to show only homepages. For example, if I search "android news", then I want google to show only homepages of sites related to "android news".

    Please tell me how to do it.

    Thanks
     
    crazybuoy, Jul 12, 2016 IP
  2. Nargil

    Nargil Active Member

    Messages:
    34
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    53
    #2
    Not sure if this is even possible. You could possibly scrape them via scrapebox and then trim them to root. Not sure for what you need it however, so it's hard to say.
     
    Nargil, Jul 13, 2016 IP
    sarahk likes this.
  3. fastreplies

    fastreplies Banned

    Messages:
    2,336
    Likes Received:
    107
    Best Answers:
    0
    Trophy Points:
    190
    #3
    You can use robots.txt

    User-agent: Googlebot
    Allow: /index.html
    Disallow: /cgi-bin/
    Disallow: /tmp/
    Disallow: /junk/
    Disallow: /~joe/junk.html
    Disallow: /~joe/foo.html
    Code (markup):
    :)

    fastreplies
     
    fastreplies, Jul 13, 2016 IP
  4. crazybuoy

    crazybuoy Well-Known Member

    Messages:
    542
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    Articles:
    46
    #4
    Hey fastreplies,

    Thanks for reply. Please guide me how to use robots.txt.
     
    crazybuoy, Jul 13, 2016 IP
  5. fastreplies

    fastreplies Banned

    Messages:
    2,336
    Likes Received:
    107
    Best Answers:
    0
    Trophy Points:
    190
    #5
    Sure.
    Try search Google for robots.txt https://www.google.com
    and next time don't worry about using Like or Best Answer or buy me a cold beer...

    :)

    fastreplies
     
    fastreplies, Jul 13, 2016 IP
  6. Yatish Gaba

    Yatish Gaba Member

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #6
    Are you asking for your site or all sites. If all sites then it is not possible and if you are talking about your site then you use that keyword only in your home page not in internal pages....
     
    Yatish Gaba, Jul 13, 2016 IP
  7. Alex D

    Alex D Greenhorn

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #7
    You can allow to crawl only homepage of YOUR site in robots.txt, but it is impossible not to display in search engines unternal pages of all other websites in the internet...
     
    Alex D, Jul 14, 2016 IP