Creating dynamic sitemap with Codeigniter

Recipe for creating Dynamic sitemap with CodeIgniter. Like Example. Suppose you have an articles blog where url for each article is by article ID Like . All articles are stored in articleTable of the database. First Create a model to get URLs. Create a file named url_model.php in application/models directory. Get Urls from database <?php class Url_model extends CI_Model{     public function __construct(){…

Read More