So i bougt one php script...

Discussion in 'PHP' started by jacobkell, Apr 1, 2010.

  1. #1
    And for some reason it have all php file replaced with htm extension.Any idea why is that?Maybe because of seo reasons?
     
    jacobkell, Apr 1, 2010 IP
  2. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #2
    maybe you can check if you have url rewrite in htaccess
     
    proxywhereabouts, Apr 1, 2010 IP
  3. Narrator

    Narrator Active Member

    Messages:
    392
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Yes, its for seo reasons. Search engines index dynamic pages slower than static pages.

    If the php code is in the html files you will need to add this to the .htaccess file:
    
    AddType application/x-httpd-php .php .htm .html
    AddHandler application/x-httpd-php .html .php
    
    Code (markup):
     
    Narrator, Apr 1, 2010 IP