HTML website

Discussion in 'Co-op Advertising Network' started by daman69xo, Mar 30, 2006.

  1. #1
    How do you set up coop advertising if your site is written in .html?
     
    daman69xo, Mar 30, 2006 IP
  2. aaron_nimocks

    aaron_nimocks Im kind of a big deal Staff

    Messages:
    5,563
    Likes Received:
    627
    Best Answers:
    0
    Trophy Points:
    420
    #2
    Theres instructions there on how to do it. It involes changing your .htaccess

    Add this line in .htaccess

    AddType application/x-httpd-php .php .htm .html
    Code (markup):
     
    aaron_nimocks, Mar 30, 2006 IP
  3. daman69xo

    daman69xo Peon

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Then if I add that particular line into the .htaccess, then it'll work? What line of code would I have to add to the rest of the html pages in order to activate it?
     
    daman69xo, Mar 30, 2006 IP
  4. seolion

    seolion Active Member

    Messages:
    1,495
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    90
    #4
    I think this is the instruction for the webserver to parse .html and .htm as .php files. So if you include php statements in .html files, it will be excecuted in the server before the page is displayed in the browser with co op links.
     
    seolion, Apr 11, 2006 IP
  5. netsearchresearch

    netsearchresearch Peon

    Messages:
    315
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    remember to give .htaccess execute permission
     
    netsearchresearch, Apr 12, 2006 IP