XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
July 20, 2008, 07:14:12 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
6813 Posts in 1681 Topics by Members
Latest Member: info607
Pages: [1]
  Print  
Author Topic: PHP in sitemap_tpl.html?  (Read 8698 times)
d.bybordi
Registered Customer
Jr. Member
*
Posts: 11


View Profile
« on: February 11, 2006, 05:10:21 PM »

Hey could you tell me the best way to include php in the sitemap template? I noticed my php doesn't show up..I'm presuming its because the file is a html file...how do I go about making this work?
Logged
admin
Administrator
Hero Member
*****
Posts: 2837


View Profile
« Reply #1 on: February 11, 2006, 08:50:21 PM »

Hi,

you can either rename all sitemap files to *.php after generation is complete or try to create .htaccess file in the folder with html sitemap and add the following there:
Quote
AddType application/x-httpd-php .html
Logged

d.bybordi
Registered Customer
Jr. Member
*
Posts: 11


View Profile
« Reply #2 on: February 12, 2006, 03:46:51 AM »

Works great thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!