Hi, I am new and I hope you can help me. I have a site which uses ssi but uses regular .html extensions using .htaccess. I am unable to run the ads using the instructions for .shtml pages. They just don't display. Oddly, if I use the instructions for php pages, the ads do display but then my server side include content does not load. Any suggestions? Thanks in advance
In the ad_network.php file, towards the end of it there should be a reference to .shtml file extensions. Since you are using SSI with .html, try changing it from .shtml to .html and see if that works.
Thanks for the quick reply and the suggestion. Unfortunately it didnt help. I am not sure if this would help, but this is the .htaccess I use. Maybe this is where I am going wrong. Options Indexes FollowSymLinks Includes AddType application/x-httpd-cgi .cgi AddType text/x-server-parsed-html .html AddType text/x-server-parsed-html .htm AddType application/x-httpd-php .php .htm .html If there is anything else you can suggest I would really appreciate it.
Try changing this: if (substr ($_SERVER['DOCUMENT_NAME'], -6) == '.shtml') { ini_set ('zlib.output_compression', 0); echo end ($ad_network); } PHP: to this: echo end ($ad_network); PHP: And do the normal SSI include of the ad_network.php file.