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.

Is .htm worth it?

Discussion in 'Search Engine Optimization' started by subnet_rx, May 25, 2005.

  1. #1
    When I write my content pages, I could write them as a static html page, but it would be cost extra time and effort to style them since I'll have to take all the php additions out of these pages. Is static html still worth it, or are the SE's fine with with dynamic pages now?
     
    subnet_rx, May 25, 2005 IP
  2. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can always use mod_rewrite to redirect to html pages in the background if you are worried.
     
    ServerUnion, May 25, 2005 IP
  3. LGRComp

    LGRComp Well-Known Member

    Messages:
    516
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    195
    #3
    You could also set your server up to process .html (.htm) pages as php. Using an apache server and an .htaccess file add these lines:

    AddHandler application/x-httpd-php .htm
    AddHandler application/x-httpd-php .html

    If you are on another webserver I can't tell you how to set it up but it must be possible.
     
    LGRComp, May 25, 2005 IP
  4. subnet_rx

    subnet_rx Well-Known Member

    Messages:
    141
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    138
    #4
    I am on apache, but will that screw up other scripts like a blog or forum?
     
    subnet_rx, May 25, 2005 IP
  5. howardroark

    howardroark Active Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Google says that they limit their spidering of dynamic pages (in their webmaster guidlines). Htm is a sure way that all your pages will be indexed :)
     
    howardroark, May 25, 2005 IP
  6. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #6
    Again, this is a questionable statement in the SEO realm... If all your pages ended in .php and did not contain characters (includins SID's) then I believe that your page has just as good of a chance getting indexed as if those pages ended in .html...
     
    NewComputer, May 25, 2005 IP
    minstrel likes this.
  7. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #7
     
    minstrel, May 25, 2005 IP
  8. subnet_rx

    subnet_rx Well-Known Member

    Messages:
    141
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    138
    #8
    It seems to me that static beats dynamic in Google, since I have a large number of archived pages using mod_rewrite in Google, but very few of the original php pages. Same content, different extension, and Google indexes the htm.
     
    subnet_rx, May 30, 2005 IP
  9. Perrow

    Perrow Well-Known Member

    Messages:
    1,306
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    140
    #9
    Could it be that the duplicate content filter kicked in and Google then chooses htm over php?
     
    Perrow, May 30, 2005 IP
  10. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #10
    It seems to me that you would be wrong.

    Google spiders dynamic pages like php just fine, if you set them up correctlyso that you don't require session IDs or long variable strings.
     
    minstrel, May 30, 2005 IP
  11. Dziku

    Dziku Peon

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    G is indexing my dynamic PHP pages quite nicely, so I can't see the problem
     
    Dziku, May 30, 2005 IP
  12. Cheater

    Cheater Peon

    Messages:
    54
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    One of my sites has double the number of pages indexed than a compeditor who is over 6 times bigger (same script). :)

    I use subdomains and mod_rewrite while he only recently put on mod_rewrite and he doesnt use subdomains.
     
    Cheater, May 31, 2005 IP
  13. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #13
    But I'll bet you with a slight modification to the script you can accomplish the same thing without mod-rewrite. And remember that rewrite does add some additional server load.
     
    minstrel, May 31, 2005 IP
  14. Cheater

    Cheater Peon

    Messages:
    54
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    When you've got a dual Opteron the extra server load isnt a issue. ;)

    The site in question is www.ezforum.org
    You cant really modify phpBB without mod_rewrite to increase the rate of indexing.
     
    Cheater, May 31, 2005 IP
  15. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I feel its more of an issue of the querysting then the file extension. There are some GREAT mod-rewrites for phpBB, let me now if you need any help as we have SEO'd a few phpBB board with great success. Good luck.
     
    ServerUnion, May 31, 2005 IP
  16. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #16
    That's simply not true.

    That's true.

    http://www.Able2Know.com

    http://www.able2know.com/forums/viewtopic.php?t=15132

    You really do not need the mod_rewrite part. It's overkill.
     
    minstrel, May 31, 2005 IP
  17. davedx

    davedx Peon

    Messages:
    429
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Another solution is to use as many subdirectories as you can. e.g. instead of:

    sandfish.com/query.php

    Use:

    sandfish.com/sandfish-query/

    and rename query.php to index.php

    That way you get the added benefit of keywords "in URL" too. Just a suggestion, I know it won't solve everything and is only part of a larger strategy.
     
    davedx, May 31, 2005 IP
  18. Cheater

    Cheater Peon

    Messages:
    54
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    My compeditor has done the SEO optimisations which dont involve removing/changing functionality (Sessions are gone).
     
    Cheater, May 31, 2005 IP
  19. ian_ok

    ian_ok Peon

    Messages:
    551
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #19
    So how do you prevent SE from requiring session ID's?
     
    ian_ok, Jun 1, 2005 IP
  20. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #20
    minstrel, Jun 1, 2005 IP