Url's with a ? in it

Discussion in 'Search Engine Optimization' started by Dejavu, Apr 11, 2005.

  1. #1
    how bad is it to have most your sites urls with a ? in?
    eg mysite.com/keyword/?id=12 as opposed to mysite.com/keyword/something.php

    I know google dont really index sites with more than 3 &'s, but a single '?' ?

    most of the threads i read here states that it is bad, but just how bad?
    also, is there a simple way to get around this (with php, eg by using mod_rewrite?)

    thanks
     
    Dejavu, Apr 11, 2005 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not that bas as long as you refrain from passing session IDs in the URL (most other SE's choke on it).

    By the way, whenever there's a & there is always a ? as well. (At least in the languages I know.)
     
    T0PS3O, Apr 11, 2005 IP
  3. Dejavu

    Dejavu Peon

    Messages:
    916
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #3
    the session ID is added automatically is it not? how can you stop it from appearing?
    I never explicitly add it to the url, but it can still appear I think.
     
    Dejavu, Apr 11, 2005 IP
  4. LinkBliss

    LinkBliss Peon

    Messages:
    697
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You would have to be adding the session ID in the script.. it does not automatically appear. Maybe I don't understand what you're talking about.

    using mod_rewrite to make all the url's appear static (end in .html) is a great idea.. google at least will crawl and index your site much deeper and faster with static-looking pages.

    Eric
     
    LinkBliss, Apr 11, 2005 IP
  5. Dejavu

    Dejavu Peon

    Messages:
    916
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well I dont really understand how it all works, but here is my situation.
    I write my site in php, and uses $_Session variables etc, but I never intentionaly add the session id to any links. Some pages are static however, so i use fopen('bla.php') to save it as a html page, but then when I look at the links in the html, they end with $sessonid=.
     
    Dejavu, Apr 11, 2005 IP
  6. Stin

    Stin Guest

    Messages:
    264
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    when using a mod_rewrite

    which is better for SE, urls ending in a / or urls just hanging
    EX: http://www.domain.com/view/368
    or: http://www.domain.com/view/368/

    anything?
     
    Stin, Apr 16, 2005 IP
  7. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #7
    I would suggest "/"
     
    Blogmaster, Apr 16, 2005 IP
  8. bnaze13

    bnaze13 Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i really don't think the ? makes a difference anymore... a link is a link as far as the bots are concerned. I haven't really noticed any difference after trying both methods
     
    bnaze13, Apr 19, 2005 IP
  9. Stin

    Stin Guest

    Messages:
    264
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I noticed a massive differnce. I had a site where about 95% of the links had ? in them. Google came through and only had about 3 pages indexed at the apex. Then it seemed to dump all of the pages from the index. I moved the site to its permanent domain (a new address) a couple days ago with a mod_rewrite setup. It spidered 103 pages the first day. It has 66 pages indexed today (about 2 days later), and googlebot has come back every day to get more fun.
     
    Stin, Apr 19, 2005 IP
  10. WhatiFind

    WhatiFind offline

    Messages:
    1,789
    Likes Received:
    257
    Best Answers:
    0
    Trophy Points:
    180
    #10
    You can use this : ini_set('session.use_trans_sid', false); in your php files to stop using id sessions being put to your url's.
    read this thread for more detailed info. http://forums.digitalpoint.com/showthread.php?t=11763
     
    WhatiFind, Apr 19, 2005 IP