Sitemap - What to list?

4

I'm creating the sitemap for my project and listing the link link I remembered that each article has a unique page , thus being a dynamic page. The question that came to mind was this: Should I list the single article page? Or that of each article? If so, how will I do this, because the site has more than 100 articles, so I would have to list one by one? ..

    
asked by anonymous 09.12.2015 / 01:46

1 answer

7

Yes you will have to list all but usually the sitemaps in xml are just to facilitate the search engine, so you would not have to list them all, you could list the main articles or main pages (which lead to different content), but most importantly is to list pages that do not have direct linking. However what you are going to list may be something quite relative to each case.

To summarize sitemaps serve to make it easier to index, and this alone does not mean that it will be the only path you can use to index.

I need to manually list

Of course not (perhaps this is your doubt), you seem to use PHP, in case you can use PHP and the bank where the urls are to generate your xml, maybe weekly.

However there are also scripts ready for this:

  

Note that they are a bit outdated

If you are using wordpress:

09.12.2015 / 01:56