-
-
Save codingwithsara/41701d58f0bab1f20294a40785cbf251 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<url> | |
<loc><?= $url; ?></loc> | |
<changefreq>weekly</changefreq> | |
<priority>1.0</priority> | |
</url> | |
<url> | |
<loc><?= $url; ?>info</loc> | |
<priority>0.5</priority> | |
</url> | |
<url> | |
<loc><?= $url; ?>contact</loc> | |
<priority>0.5</priority> | |
</url> | |
<?php foreach($items as $item): ?> | |
<url> | |
<loc><?= $url; ?>items/detail/<?= $item->item_id; ?></loc> | |
<priority>0.8</priority> | |
</url> | |
<?php endforeach; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment