Hey guys, I've managed to sell my first ever link through Linkworth (a rotating ad) but the instructions are for PHP, ASP, CFM or Perl pages and I'm still dabbling in the wonderful world of boring old HTML with SSI files. Can someone let me know the best way to approach this? Should I convert my main site to .php and how do I do that? Should I set up a 301 redirect from index.htm to index.php (or whatever I end up using)? Is there a dummies guide to getting started? Thanks! Kirsty
If you are running Apache you should be able to manage it without changing your file extensions by using .htaccess. Include this line in your .htaccess file in your root directory... AddType application/x-httpd-php .htm Code (markup): This will force the server to parse .htm files as .php You can then include the php code in your site and it should work. This will not change how the rest of your html code is displayed..
thanks livingearth, that worked great for my friend trying to do the same thing. I had ready it before but it did not seem to work the way we were trying to set it before.