Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    16
    Member #
    14937
    Here is a quiz that will trow up a few comments.
    What are the benifits of an seo mod that would stop PHP sessions being generated if the user agent of the visitor is detected to be a search engine.
    What I suppose I mean in is that without this mod the search engines will see URLs as http://www.domain.com/index.php?act=...23r456tg873gg5. mmm, not very nice is it?:thumbsdown:
    So your thoughts on this and whether it is worth doing this in my modification?
    www.demontemplates.com
    Cubecart Templates | Cubecart Skins | Cubecart Designs

  2.  

  3. #2
    Junior Member Mr Different's Avatar
    Join Date
    Jan 2009
    Location
    Scotland, UK
    Posts
    2
    Member #
    18078
    If, on one hand, you are talking about session IDs being transmitted as part of the URL, then I don't think that presents any SEO issues. Should you wish to stop this from happening however then the following code should do the trick:

    ini_set('session.use_only_cookies', true);

    On the other hand, if you really mean that your links are cluttered with ugly get data, regardless of whether sessions are being used or not, then yes - getting to grips with mod_rewrite (or equivalent) could help your search ranking.

  4. #3
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    And if for whatever reason you wanted to do that only for search engines, that would likewise be fairly straightforward.

    EDIT: To be clear, I mean the ini_set solution. You can also target just the search engine using mod_rewrite, but if you're cleaning up your URLs with it there's no reason not to show the cleaner URLs to your users, as well.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:29 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com