Jump to content

PHP Sitemap


c_pattle

Recommended Posts

I'm wanting to make a sitemap for my website but should I includes ALL possible url's?  For example I have a search page (where you can search a film) where the url syntax is something like "search.php?type=all&film=a+film".  Should I make sure that all possible urls are included in my sitemap e.g all the films in my database?  Hope that makes sense. 

 

Thanks for any help. 

Link to comment
https://forums.phpfreaks.com/topic/229720-php-sitemap/
Share on other sites

Hi c_pattle,

I wouldn't have all possible URLs in the sitemap. Firstly if there quite a few films in your database you will end up with a huge sitemap. The other reason is that it is possible an automated site map will pick create results for files that you don't want displayed, maybe a backup of another file.

Cheers,

Fergal

Link to comment
https://forums.phpfreaks.com/topic/229720-php-sitemap/#findComment-1183458
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.