1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Find .htaccess in wordpress

Discussion in 'PHP & Perl' started by oxonbeef, Oct 22, 2009.

  1. oxonbeef

    oxonbeef BANNED BANNED

    Joined:
    Jan 4, 2009
    Messages:
    2,242
    Likes Received:
    7,872
    I need to add this piece of code to my .htaccess file in a
    Wordpress instalation.
    Code:
    [I]#embed php code in html
    Addhandler application/x-httpd-php .html .php
    AddType application/x-httpd-php .html .php[/I]
    I've been through my file manager with a fine toothcomb
    and I cant find it. It's available in the search but
    dissapears if you click on it to open. Can I create one
    and save it to the template?
     
  2. oxonbeef

    oxonbeef BANNED BANNED

    Joined:
    Jan 4, 2009
    Messages:
    2,242
    Likes Received:
    7,872
    Never mind. Found it and soughted it.
     
  3. enes9

    enes9 Registered Member

    Joined:
    Jun 27, 2009
    Messages:
    84
    Likes Received:
    16
    Occupation:
    A full time Search Engine Optimizer and Web Conten
    Location:
    In your dreams...
    Hello oxonbeef,


    Are you trying to put an PHP RSS feed on your site? I also have that code on my .htaccess but once I put the PHP RSS Feed code on my pages, It doesn't work.



    Thanks,

    enes9