Custom Post Type XML for Mineweb

We recently got a project from a good friend of ours Rob Smith from He wanted to have a custom post type xml sitemap for his gold investing website.

The main problem was that by default wordpress shows categories in the sitemap.xml, but when you have a large number of posts and pages along with categories, it becomes a big mess.

We divided the whole page into four main categories, the same as the website is divided.

Those four categories are: precious metals, bitcoin, buying gold and investing. Instead of keeping the default structure, we forced a rewrite for the sitemap according to these four main categories. Under these categories for lets say buying gold… we then further categorized the content by author and then by date.

Furthermore we programmed the newly created xml to have the option to toggle on/off:

  • author pages
  • posts
  • attachments
  • custom taxonomies

This made it a lot easier for rss reader to read the content.

This is the final result of the post_type xml sitemap for

mineweb gold investing custom xml sitemap

You can see that the overall design and flow is a lot cleaner…. Rob was surprised by our work and couldn’t thank us enough.

About – Precious Metals investing guides

Gold Retirement account 

If you are not familiar with, it is a website about alternative investing and covers everything from gold IRAs, bitcoin IRA, general investing guides and different tips and tricks for any investor of any experience. You can check out their latest gold IRA rollover   guide if you are interested in protecting your retirement savings with precious metals against inflation.

Bitcoin Retirement accounts

With bitcoin gaining popularity in recent months and years, people are considering it as a form of retirement investment. If you are interested in a cryptocurrency IRA, read all about it in this comprehensive bitcoin IRA review and guide.

Buying gold

At you will also be able to find comprehensive guides on how to buy gold online. They go over the best dealers in the business and what you need to look out for when purchasing gold online. If you are looking for the best and most secure option of buying and storing your gold, make sure you check out Regal Assets Dubai in this article.

Leave a Comment

Your email address will not be published. Required fields are marked *