Jump to content

PHP Sitemap


podja

Recommended Posts

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

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

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/

Link to comment
https://forums.phpfreaks.com/topic/84188-php-sitemap/#findComment-428637
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.