Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2002

    is this url search engine friendly?

  2. #2
    I am sorry, it does not work

  3. #3
    Join Date
    Apr 2004
    A house on the beach
    as a rule of thumb, anything with a "?" in the url is not SE friendly.
    -= Webmaster=-
    -=. Hired Gun .=-

  4. #4
    Join Date
    Jul 2003
    This is one of those myths of search engines.

    ? in a URL does not make a difference with search engines.

    Here is an example. You might also want to check Google's Webmaster Information section.
    In order to understand recursion, one must first understand recursion.
    If you feel like it, you can read my blog
    Signal > Noise

  5. #5
    Join Date
    Apr 2003
    Edinburgh, UK
    In reply to all of the above comments,

    Most search engines are not stupid. If they trawl a page with links to a news article at "" (for example) then there is nothing stopping the robot from visiting that page with that querystring.

    Now, humans on the other hand would have problems remembering complicated urls such as the example above. Roll in the 'trend' towards clean urls! Wouldn't it be so much nicer is someone could visit the url ""? It is infinitely more easy to remember, not to mention to type.

    Not to mention that with the second example, the whole system could be changed server side (eg, using C# rather than PHP, or playing around with the structuring of files) with the url still working just fine, whereas example 1 would provide a broken link and a lovely 404 error message.

    So, in terms of "future-proofing" and keeping your links clickable, the second example is surely the way to be headed. There is much, much more that can be said about improving the web for surfers and robots alike, but lets not get into that.

    Sneak in to any website! <--- it's for sale!

  6. #6
    Join Date
    Nov 2001
    Salathe, you could do it with php+mod_rewrite
    edit: I missed your point , I see you meant you could change server architectures and keep the URL's the same.
    (ambirex = )

    RewriteEngine on
    RewriteRule ^/(.*) /redirect.php [PT]
    PHP Code:
    require_once 'some_classes.php';

    // assuming
    $parsed split("/"$_SERVER['REQUEST_URI']);
    $module = new $parsed[1];

    (I haven't check the code, just a rough example)
    Last edited by ambirex; 05-05-2004 at 01:59 PM.

  7. #7
    Join Date
    Apr 2004
    I always use PATH_INFO to do it, that way I don't need to mess with mod_rewrite or anything else and it is portable across systems.

    So, if my php/perl/whatever script is named "whatever", all my URL's are in the format

    Or something similar to the above. Then I just parse PATH_INFO for everything I need, I also parse the query string. That way I can mix and match without messing things up.

Posting Permissions

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