Spidering URL's?

Discussion in 'Apache' started by cgo85, Dec 6, 2004.

  1. #1
    Would an SE spider and index a URL like this:
    /ca-city.php?realtor=Sutter+Creek

    I'm pretty sure that they would but I just want to make sure before I waste alot of time.
     
    cgo85, Dec 6, 2004 IP
  2. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #2
    The only thing that is a problem is when there is a session ID or other identifier within the URL. That should be fine. If it was me, though, I'd do a little mod rewrite to make it /ca-city.htm/realtor/Sutter+Creek
     
    nevetS, Dec 6, 2004 IP
  3. anton-io!

    anton-io! Active Member

    Messages:
    540
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #3
    definetly agree with using mod rewrite

    Find the .htaccess file and start modifying.

    Can be tricky and a bit overwhelming at first.

    I simply looked at the .htaccess files for free scripts out there like cpDynaLinks and made changes to my site.

    Have fun!
     
    anton-io!, Dec 6, 2004 IP
  4. cgo85

    cgo85 Peon

    Messages:
    380
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yeah the htaccess thing is over my head right now... I'm going to put sometime into this tomorrow. Just in case, does anyone know a htaccess that would do nevetS is saying i should?
     
    cgo85, Dec 7, 2004 IP
  5. cgo85

    cgo85 Peon

    Messages:
    380
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    k... i tried using this:

    RewriteEngine on
    RewriteRule ^([a-z][a-z])-realtor_(.*)\.html$ /([a-z][a-z])-city.php?realtor=$1 [L]

    but i get either a 403 error or a page cannot be found error
     
    cgo85, Dec 8, 2004 IP