podja Posted January 2, 2008 Share Posted January 2, 2008 Hi, Well this is mainly SEO but PHP is involved. I need a sitemap for search engines to crawl my site. I have dynamic data on my site so in my sitemap would I just need the one page or a page for every bit of different content. E.g: Sitemap 1 index.php videos.php videoplayer.php links.php Sitemap 2 index.php index.php?archive=jan index.php?archive=feb index.php?archive=mar videos.php videos.php?archive=jan videos.php?archive=feb videplayer.php?videoid=1 videoplayer.php?videoid=2 Do you understand? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/84188-php-sitemap/ Share on other sites More sharing options...
p2grace Posted January 2, 2008 Share Posted January 2, 2008 Basically as long as content is still shown without any $_GET variables in the url, all you would need is the static url. If you have a very large amount of pages I would suggest using a sitemap generator to create your sitemap. One of the most well-known crawlers in gSiteCrawler at http://gsitecrawler.com/en/download/ Quote Link to comment https://forums.phpfreaks.com/topic/84188-php-sitemap/#findComment-428637 Share on other sites More sharing options...
podja Posted January 2, 2008 Author Share Posted January 2, 2008 I am still not to sure. videoplayer.php?videoid=4 Relies on the $_GET variable because no other content is shown without it. Quote Link to comment https://forums.phpfreaks.com/topic/84188-php-sitemap/#findComment-428648 Share on other sites More sharing options...
p2grace Posted January 2, 2008 Share Posted January 2, 2008 Then you will want to have to get variables included in the sitemap Quote Link to comment https://forums.phpfreaks.com/topic/84188-php-sitemap/#findComment-428650 Share on other sites More sharing options...
podja Posted January 2, 2008 Author Share Posted January 2, 2008 And how do I got about this? Just have links to each different variable? Quote Link to comment https://forums.phpfreaks.com/topic/84188-php-sitemap/#findComment-428687 Share on other sites More sharing options...
p2grace Posted January 2, 2008 Share Posted January 2, 2008 Yeup, that's why I suggested using a sitemap generator. Quote Link to comment https://forums.phpfreaks.com/topic/84188-php-sitemap/#findComment-428691 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.