First off I'd like to apologize for my extreme lack of knowledge that I'll end up showing . . . just in the subject and question to begin with! I thank everyone for their patience and help with a matter I've run into!
I have a website:
workmenforChrist.org
Last weekend I went through and tried updating the wordpress section of my website. It was about 18 versions behind because I hate to admit, I neglected it.
Now, however, the php includes are not working! I tried getting my normally VERY helpful and knowledgeable webhost to help me out but it seems they didn't know and only kept telling me that I can't use php code in .html files. It was possible for the years I've had the website running perfectly fine. I have searched, and searched, and searched to no avail in finding what changed with php5 and what can be done (besides changing each and every file I have into a .php file). Every code snippet I have found that is supposed to allow php to be used in .html files to add to the .htaccess file, does not work for me at all. Is there anyone here who can please help me with this issue?
In my .htaccess file I have the following, which obviously does not work:
Code: Select all
RewriteEngine on
SetEnv PHP_VERSION 5
#AddHandler cgi-script cgi PHP html
AddHandler x-http-php5-cgi .html
AddType text/html .shtml
AddHandler server-parsed .shtml
DirectoryIndex index.shtml index.html index.htm index.php
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?workmenforchrist.org/.*$ [NC]
RewriteRule \.(gif|jpg|png|mp3|mpg|avi|mov|js|css)$ - [F]
ErrorDocument 404 /404error.html
order allow,deny
deny from 200.63.42.136
allow from allThank you again, so much for any help possible!