Can I put PHP in a HTML file?

by 10 comments
Hi folks,

I've a script that will only work in php and the site I want to use it on has html files. I don't want to change the html files because I want to use the script to track traffic. My traffic for this site comes from the search engines, so I think that if I change the file name it may eventually affect rankings.

Does anyone know if -
Is there a way to put php into a html file?

Or alternatively, is there a way to keep my pages in the search engines but have some sort of redirect to a php file?

#internet marketing #php #redirect

Next Topics on Trending Feed