How do I properly sitemap a site with static pages + Wordpress in it's own directory?
-
I apologize for the awkward wording in the headline.
No to the issue, I have a site with static pages that are created as follows: url.com, url.com/page1, url.com/page2, etc. I then have WordPress install at url.com/blog. What is the proper method for creating a comprehensive sitemap for my entire domain. I like the sitemap feature provided by Yoast SEO plugin but I assume it will only index the wordpress directory (url.com/blog).
Any help would be greatly appreciated!
-
Hi There
You could generate one for the whole site, but this will be a pain because you'll have to update it very often. What I would recommend is;
- Let Yoast generate one for the blog area. This will sit under site.com/blog/sitemap_index.xml
- Create one for the static part of the site - you can use a sitemap generator (google search). Just don't include the blog in it.
Then you can submit each separate to Webmaster Tools. This way Yoast will update the blgo sitemap automatically, you'll just have to update the static one on your own.
-Dan
-
Thanks Dan, I had a feeling this may be an option, good to know that others are doing the same. I am a bit new to the world of SEO and wasn't sure what kind of effect would come from multiple sitemaps. Much appreciated!