1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Googlability and mod_rewrite

Discussion in 'Search Engine Optimization' started by Trance-formation, Jan 28, 2005.

  1. #1
    I'm currently exploring mod_rewrite to replace query strings in my URI's and I found this tool http://www.webmaster-toolkit.com/mod_rewrite-rewriterule-generator.shtml

    However, I want to convert
    http://www.training-directory.org.uk/directory.php?cat=Business-Customer%20Service
    Code (markup):
    to
    http://www.training-directory.org.uk/Business-Customer-Service.php
    Code (markup):
    but the tool tells me that
    What would be a better outcome in terms of SEO,
    http://www.training-directory.org.uk/Business-Customer-Service.php
    Code (markup):
    or
    http://www.training-directory.org.uk/directory/cat/Business-Customer Service/
    Code (markup):
    ??

    TIA
     
    Trance-formation, Jan 28, 2005 IP
  2. NeoGen

    NeoGen Writer

    Messages:
    2,303
    Likes Received:
    301
    Best Answers:
    0
    Trophy Points:
    230
    #2
    I think it would be better if you have some thing with .html as extension.

    In fact I have converted one of my entire phpbb to display pages as .html and that has given very good results.
     
    NeoGen, Jan 28, 2005 IP
  3. Trance-formation

    Trance-formation Peon

    Messages:
    598
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If I give it an htm extension with mod_rewrite, will the php still be parsed?
    (I feel like I am tinkering with that which man is not meant to know! :eek: :D )
     
    Trance-formation, Jan 28, 2005 IP
  4. roadies

    roadies Well-Known Member

    Messages:
    1,182
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    160
    Digital Goods:
    1
    #4
    Um...not exactly.
    That's from Google's Webmaster Facts page http://www.google.com/intl/en/webmasters/facts.html. I have had files as both .php and .html and both have been crawled and indexed just fine.
     
    roadies, Jan 28, 2005 IP
  5. joseph29

    joseph29 Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Finally and end to this age old extension debate ... I've noticed no different in ranking between html and asp.
     
    joseph29, Jan 28, 2005 IP
  6. Trance-formation

    Trance-formation Peon

    Messages:
    598
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I'm not overly bothered by the extension, but would like to rewrite the query string to give a static URL, which (although I've seen sites indexed well with query strings in the URL) I understand the current thinking is that they are better than dynamic ones.

    How would you mod-rewrite
    http://www.training-directory.org.uk/directory.php?cat=Business-Customer%20Service
    Code (markup):
    to something more friendly to Google?
     
    Trance-formation, Jan 28, 2005 IP
  7. DangerMouse

    DangerMouse Peon

    Messages:
    275
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes, it will

    Remeber if a spider *thinks* it's spidering a flat html page then it will hit them much faster than if it *knew* there was server side processing going on...
     
    DangerMouse, Jan 28, 2005 IP
    Trance-formation likes this.
  8. NeoGen

    NeoGen Writer

    Messages:
    2,303
    Likes Received:
    301
    Best Answers:
    0
    Trophy Points:
    230
    #8
    Yup completely agree! atleast initial indexing in the search engine would be fast.

    Now this site : www.gutfeel.com/forum has phpbb forum, but as a guest user, one would see php pages parsed as html pages. However, if some registered user logs into, it shows pages in normal .php?= mode (SE's don't register in a forum :D)
     
    NeoGen, Jan 28, 2005 IP
  9. Agent47

    Agent47 Well-Known Member

    Messages:
    775
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    135
    #9
    Agent47, Jan 29, 2005 IP
  10. dchoe

    dchoe Active Member

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #10
    i have been looking for a mod_rewrite helper.. thanks for the link
     
    dchoe, Jan 29, 2005 IP