Toggle navigation
PRO Sitemaps
Standalone Generator
About Sitemaps
News
SEO Tools
Sitemap Generator Forum
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
XML Sitemaps Discussions Category
/
Unlimited PHP Sitemap Generator
/
PHP in sitemap_tpl.html?
On Page SEO Checker:
Get a list of improvements for your website for free in less than 5 minutes!
« previous
next »
Pages:
1
d.bybordi
11
PHP in sitemap_tpl.html?
«
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
XML-Sitemaps Support
11782
Re: PHP in sitemap_tpl.html?
«
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
Oleg Ignatiuk
https://www.xml-sitemaps.com
Send me a Private Message
SEM and SEO Reports, more than 45M domains
: The world's leading Competitive Intelligence Tool for digital marketing.
d.bybordi
11
Re: PHP in sitemap_tpl.html?
«
Reply #2 on:
February 12, 2006, 03:46:51 AM »
Works great thanks!
Logged
Pages:
1
« previous
next »