need help creating dynamic page ....

Discussion in 'PHP' started by SonnyCooL, Nov 1, 2009.

  1. #1
    What is the best way to create dynamic page and it show to Search engine Bot ?

    My site with only two page : index.php and search.php when user search return result will be url.com/search.php?txtSaleRent=For+Sale&txtkey=KL&txtPropertyType=&btnSearch=Search&txtSort=addate&txtSortType=ASC

    i try to create a sitemap but only two page was found in the sitemap ...
    any one can help ?
    thanks
     
    SonnyCooL, Nov 1, 2009 IP
  2. krzyk

    krzyk Peon

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    One of the ways it so heave a footer on the main page with links to some search phrases.
    E.g. in you case:

    <a href="http://url.com/search.php?txtSaleRent=For+Sale&txtkey=KL&txtPropertyType=&btnSearch=Search&txtSort=addate&txtSortType=ASC">For Sale</a>
    <a href="http://url.com/search.php?txtSaleRent=Money&txtkey=KL&txtPropertyType=&btnSearch=Search&txtSort=addate&txtSortType=ASC">Money</a>
    <a href="http://url.com/search.php?txtSaleRent=More+Money&txtkey=KL&txtPropertyType=&btnSearch=Search&txtSort=addate&txtSortType=ASC">More Money</a>

    And so on, this way the bot will see the urls and index them, of course it would be the best to have some kind of automatic footer generation, you could consider a footer on the search page, which would generate keywords for the footer basing on the current search phrase.
     
    krzyk, Nov 1, 2009 IP
    SonnyCooL likes this.
  3. SonnyCooL

    SonnyCooL Peon

    Messages:
    1,170
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    understand abt the footer but it seem like limited page right ???
    how abt creating cache page or something like that ?
    thanks
     
    SonnyCooL, Nov 1, 2009 IP
  4. krzyk

    krzyk Peon

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you have only input on your page, then there is no way that a search engine bot could know what to input there. The only way is to provide the links you want to be indexed, either on your page that is in the google or on any other page where you can put it.
     
    krzyk, Nov 2, 2009 IP