c_pattle Posted March 5, 2011 Share Posted March 5, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/229720-php-sitemap/ Share on other sites More sharing options...
Fergal Andrews Posted March 6, 2011 Share Posted March 6, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/229720-php-sitemap/#findComment-1183458 Share on other sites More sharing options...
c_pattle Posted March 6, 2011 Author Share Posted March 6, 2011 Thanks for your help. In that case should I just have one example for example "search.php?type=all&film=a+potential+value"? Quote Link to comment https://forums.phpfreaks.com/topic/229720-php-sitemap/#findComment-1183635 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.