Results 1 to 5 of 5

Thread: Bots-friendly URL for pagination in search.php

  1. #1
    Join Date
    Jul 2006
    Location
    Paris, France
    Posts
    108

    Default Bots-friendly URL for pagination in search.php

    I asked the following question to Dody on the "normal" forum, but nobody answered.
    So, I ask this question again here. I'm ready to pay somebody to solve this problem.
    Thanks for your suggestions (or solutions).

    I have seen this function (line 119) in lib/pagination.class.php :
    function apply_seo(&$out) {

    if ($this->page_file == "browse") {
    $src[] = "|\"browse.php\?pg_which=(\w*?)&cat=(\w*?)\"|m se";
    $replacement[] = "\$this->apply_browse_seo('\\1', '\\2')";
    }

    But I can't see any URL rewriting in the URLs of the different search.php pages of my site and of your demo site.

    I'd like for example get URLs looking like /foo/1, /foo/2 or /foo/3 instead of
    /search.php?pg_which=1&keyword=foo
    /search.php?pg_which=2&keyword=foo
    or
    /search.php?pg_which=3&keyword=foo

    Is there a simple thing to do in your script to get "SEO" URLs when we place the mouse on the links of the different numbers of the search.php pages (like it's done with the categories and the details of the links) ?

    I could create a "clone" of lib/pagination.class.php and call it only from the search.php page, but it's complicated.

    I'm searching this URL rewriting of the search pages because it's better for the targeting of the Adsense ads. When it's the first time a page is presented to the Adsense bots, they look at first on the URL. When we call a second time the same page, the bots analyze the content of the whole page, but it's too late, the visitor had badly targeted ads.

    So, this system could improve your script and your own sites. Just test once a search and observe the pertinence of the Adsense ads With just one good word in the URL, you have good results. But with "search.php?pg_which=1&keyword=foo" the results are anything (in fact, it's the result of the last search made by another visitor with another keyword).

  2. #2
    Join Date
    May 2004
    Location
    New Zealand
    Posts
    600

    Default

    I notice not many people have comment (well none) but I really think this is a good idea, surely this can be done.

    The most common question so far in livehelp would have to be about the SEO of the script, so if this could get added also to the search pages it would be another feather in the cap of Indexu.

    Cheers Ezy

  3. #3
    Join Date
    Jul 2006
    Location
    Paris, France
    Posts
    108

    Default

    Quote Originally Posted by ezykiwi View Post
    I notice not many people have comment (well none) but I really think this is a good idea, surely this can be done.

    The most common question so far in livehelp would have to be about the SEO of the script, so if this could get added also to the search pages it would be another feather in the cap of Indexu.

    Cheers Ezy

    Thanks a lot, Ezy

    I see Dody visits the forum, but he says nothing.
    And I'm sure he has all the code inside his head. This custom work could take just 10 minutes for him.
    So, why does Dody say nothing ?

    I have tested what I propose. When there is just one keyword in the URL, the Adsense is well targeted. But when there are lots of "extra noises" in the URL like "search.php", "which_page" and so on, all the ads are out-subject.
    When somebody is searching with a new keyword, the Adsense bots have not the time to go and analyse the context of the search results page, and Google sends ads choosen only with the content of the URL.
    The second time you search the same keyword, the adds are better, but it's too late for the first visitor. And the second will maybe never come.
    Dody, try the experiment described above on your own site, and you'll see that I'm right.

    This improvement to the script is better for everybody : the visitors can read something interesting for them (in the same field as the rest of the content of the page), and the webmaster is happy too, and says "Thank you Dody" because a well targeted add is a 20% "clicked" add !

    So, Dody, it's not allowed to show the click percentage, but be sure that when the Adsense ads are well targeted, your IndexU is really a "cash machine".
    Why don't you want to put an extra drop of oil in this machine to improve it ?
    You could use this improvement for yourself too
    Last edited by Mickey; 10-20-2006 at 01:58 PM.

  4. #4
    Join Date
    Aug 2006
    Location
    Bangkok, Thailand
    Posts
    24

    Lightbulb

    Quote Originally Posted by Mickey View Post
    Thanks a lot, Ezy

    I see Dody visits the forum, but he says nothing.
    And I'm sure he has all the code inside his head. This custom work could take just 10 minutes for him.
    So, why does Dody say nothing ?
    I think Dody is busy with his new born baby or may be he is busy with next version of his scripts. I have a limited knowledge on programming, otherwise I will try to help you.

  5. #5
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    This feature will be added in next release.

Similar Threads

  1. Search Engine Friendly Url
    By pteerapr in forum Blocks and Modification
    Replies: 6
    Last Post: 04-05-2006, 09:32 PM
  2. Replies: 1
    Last Post: 08-01-2005, 06:47 PM
  3. Please make my directory search engine friendly!
    By seomontreal in forum Help Wanted/Job Request
    Replies: 0
    Last Post: 07-07-2005, 09:40 AM
  4. Replies: 31
    Last Post: 06-23-2005, 12:26 PM
  5. Search engine friendly URL
    By aladdin in forum v3.2
    Replies: 2
    Last Post: 01-12-2005, 04:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •