Results 1 to 11 of 11

Thread: Making a link without PHPSESSID

  1. #1
    Join Date
    Jul 2003
    Posts
    50

    Default Making a link without PHPSESSID

    hi

    I have a probleme with googles bots cause they only index my home page www.kouaa.com

    And after some searchs It's seem to be caused by PHPSESSID.
    All link when you are not loggin ar folow by a PHPSESSID and google cant follow these links...

    So how can I do to make a link on the template wich will not be follow by a PHPSESSID


    exemple:
    on http://www.kouaa.com/

    I would like that "Site map" link (at the bottom of the page) be : site-map.htm (and not http://www.kouaa.com/sitemap.htm?PHP...2f5ad107ab6250 )

    Thanks a lot if you can help me

    PS: Sorry for my english

  2. #2
    aladdin Guest

    Default

    Hello,

    You can:
    1) Create static pages
    2) Fool search engine and make them believe that your dynamic page are static.
    Look in the hack forum to find some answer

  3. #3
    Join Date
    Jul 2003
    Posts
    50

    Default

    Originally posted by aladdin
    Hello,

    You can:
    1) Create static pages
    2) Fool search engine and make them believe that your dynamic page are static.
    Look in the hack forum to find some answer
    I have made statics pages, in "site map" all links ar statics links using URL rewritting...

    But th link to acces to "site map" isnt a static link and i would like to remove juste for this link the PHPSESSID, do you think it's possible?

  4. #4
    Join Date
    Jul 2002
    Posts
    189

    Default

    You have to use an absolute link like"http://www.kouaa.com/sitemap.html". On a non relative link, PHP asumes that you link to an external site. Due to possible security flaws PHP won't add a session id.

    greets

    Joerg
    --------- applying hacks require a knack ---------

  5. #5
    Join Date
    Jul 2003
    Posts
    50

    Default

    I have found the solution by using:
    ini_set('session.use_trans_sid', false);

  6. #6
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Default ?

    ah, where in which file ?
    Frank

  7. #7
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    application.php?
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  8. #8
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Question ?

    I have to add this at the end ?

    Frank

  9. #9
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    yep, put it in the application.php file and rename it to application.php?

    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  10. #10
    Join Date
    Jul 2003
    Posts
    50

    Default

    Sorry i havent seen that there was some answers...

    in fact i have put it on Index.php and its wok fine because google have crawl all my website

  11. #11
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Default ?

    ai,

    index ?
    There is no sense, the most traffic is in the other php-files...

    Frank

Similar Threads

  1. INDEXU FEATURES
    By Hart_House in forum Pre-Sales Questions
    Replies: 13
    Last Post: 06-30-2003, 11:57 AM
  2. Modify a link problem!
    By craven in forum v5.x
    Replies: 8
    Last Post: 11-20-2002, 04:48 PM
  3. Link Tilte on Tell Friend Form
    By blakebauman in forum v5.x
    Replies: 3
    Last Post: 07-31-2002, 11:24 PM
  4. Replies: 0
    Last Post: 08-29-2001, 07:31 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
  •