Skip to content

Tag: xml-sitemap

How to create dynamic sitemap in Codeigniter

How to create a dynamic sitemap in Codeigniter. I have created a php file in Controller named it Sitemap.php and created a view named it sitemap.php everything is going well but showing the following result not the actual XML file as shown in below image. Codeigniter Sitemap.php file View -> sitemap.php file Answer You are missing header setting in your

Creating an XML sitemap with PHP

I’m trying to create a sitemap that will automatically update. I’ve done something similiar with my RSS feed, but this sitemap refuses to work. You can view it live at….