How to create an extraordinary Sitemap for WordPress

How to create an extraordinary Sitemap for WordPress

When making the sitemap I wanted to list all of the posts and also to link to the monthly archives for each post – that way I would get maximum exposure for my sitemap.

The process is relatively simple:

- Grab all the months and years from the database
- Loop through the list of dates and grab the posts from each month, displaying them as you go (more…)

POSTED IN WordPress July 28th, 2010
XML WordPress sitemap generated by PHP

XML WordPress sitemap generated by PHP

Below you will find the PHP code for generating a proffesional XML sitemap, compatible with Google Webmaster Tools. The PHP script connects to the WordPress database, from where it gets all the Posts and post them in the XML.

The entire script is fully automatized, you only have to upload it in public_html. Easy ha!? ;)
(more…)

POSTED IN Tutorials July 5th, 2010

Go to Top