Dumb SEO Questions

(Entry was posted by man patel on this post in the Dumb SEO Questions community on Facebook, 03/27/2014).

I want to include only 2 pages of my website to index in google.

Hello ,

Sir i want to include only 2 pages of my website to index in google.
Say  xyz.com/abcd.html  and xyz.com/12345.html

and rest all pages don`t want to index. So can i use robots.txt file like this e.g.


User-Agent: *

allow: xyz.com/abcd.html
allow: xyz.com/12345.html

Disallow: /

is it working or any other way i have to go. please suggest.

Thanks?
This question begins at 00:07:00 into the clip. Did this video clip play correctly? Watch this question on YouTube commencing at 00:07:00
Video would not load
I see YouTube error message
I see static
Video clip did not start at this question

YOUR ANSWERS

Selected answers from the Dumb SEO Questions Facebook & G+ community.

  • man patel: Hello ,

    Sir i want to include only 2 pages of my website to index in google.
    Say ; xyz.com/abcd.html ; and xyz.com/12345.html

    and rest all pages don't want to index. So can i use robots.txt file like this e.g.


    User-Agent: *

    allow: xyz.com/abcd.html
    allow: xyz.com/12345.html

    Disallow: /

    is it working or any other way i have to go. please suggest.

    Thanks
  • Edwin Jonk: From the expert panel in this weeks SEO Questions hangout on air on 00:07:00 into the YouTube video: https://dumbseoquestions.com/q/i_want_to_include_only_2_pages_of_my_website_to_index_in_google +man patel

    The cuetimes listed on this page are functional while the live broadcast continues and also once Youtube has finished processing the public broadcast. Processing time varies between 6-24 hours. During this period the clip is viewable in full but the cuetimes cannot be relied on.

View original question in the Dumb SEO Questions community on Facebook, 03/27/2014).

All Questions in this Hangout