help needed

Discussion in 'Programming' started by choice, Feb 14, 2007.

  1. #1
    i have a website www.worldebooksales.com

    i want to know how i can make it url friendly

    i believe this can be know via the htaccess file any ideas
     
    choice, Feb 14, 2007 IP
  2. evera

    evera Peon

    Messages:
    283
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should disable session id's for guests. Google doesnt like em.

    And you should do a mod rewrite, something like this:

    RewriteEngine on
    Options FollowSymLinks
    RewriteBase / 
    RewriteRule ^index-([0-9]+)-([0-9]+).html$ index.php?cPath=$1_$2
    Code (markup):
    I haven't tested it...
     
    evera, Feb 14, 2007 IP
  3. choice

    choice Prominent Member

    Messages:
    5,444
    Likes Received:
    490
    Best Answers:
    0
    Trophy Points:
    350
    Digital Goods:
    2
    #3
    that gives me 403 forbidden error
     
    choice, Feb 14, 2007 IP
  4. evera

    evera Peon

    Messages:
    283
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try this:

    RewriteEngine on
    Options FollowSymLinks
    RewriteBase / 
    RewriteRule ^index-([0-9]+)-([0-9]*)-([a-zA-Z0-9_]*).html$ index.php?cPath=$1_$2&sessionid=$3
    Code (markup):
    Not sure...
     
    evera, Feb 14, 2007 IP
  5. Arkserver

    Arkserver Banned

    Messages:
    2,533
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #5
    before you start make sure mod_rewrite is enabled on your server.
     
    Arkserver, Feb 14, 2007 IP
  6. bobchrist

    bobchrist Active Member

    Messages:
    4,102
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    88
    #6
    If you want the dynamic urls appear as if they are static you can use Apache's mod_rewrite to create search engine friendly urls.
     
    bobchrist, Feb 15, 2007 IP
  7. evera

    evera Peon

    Messages:
    283
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Did you read the posts above before you posted that rubish?
     
    evera, Feb 15, 2007 IP