Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how we can get sitemap in php Sitemap in PHP give me a solution
Posted

1 solution

Are you so much used to getting things that you even hope to "get" a PHP sitemap? Do you understand that sometimes you need to give? Or at least develop? It's impossible to get all the time. Or, more exactly, you can get, but then you won't be a software developer. And, in particular, no one will pay you for your work.

So, no one will "give" you the solution. And not because people want you to suffer from difficult work. This is because their is no just one single solution. Typically, as sitemap should at least have some data mapping some descriptive single sitemap page with the other pages which may need some support. To start with, please see:
http://en.wikipedia.org/wiki/Site_map[^].

Here is one approach based on rewrite engine:
http://stackoverflow.com/questions/2747801/creating-an-xml-sitemap-with-php[^].

To understand rewrite, please see:
http://en.wikipedia.org/wiki/URL_rewriting[^].

Another approach is based on a sitemap generator. You can find some here: http://code.google.com/p/sitemap-generators/wiki/SitemapGenerators[^],
http://www.plop.at/en/php.html[^].

And you can always write your own.

After all, you can find a lot more:
http://bit.ly/Zep6rQ[^],
http://bit.ly/Zepd6G[^].

Good luck,
—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900