Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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!
-
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!
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Explore more categories
-
Chat with the community about the Moz tools.
-
Discuss the SEO process with fellow marketers
-
Discuss industry events, jobs, and news!
-
Chat about tactics outside of SEO
-
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
-