Generating a Sitemap for websites linked to a wordpress blog
-
Greetings,
I'm looking for a way to generate a sitemap that will include static pages on my home directory, as well as my wordpress blog. The site that I'm trying to build this for is in a temporary folder, and can be accessed at http://www.lifewaves.com/Website 3.0
I plan on moving the contents of this folder to the root directory for lifewaves.com whenever we are go for launch.
What I'm wondering is, is there a way to build a sitemap or sitemap index that will point to the static pages of my site, as well as the wordpress blog while taking advantage of the built in wordpress hierarchy? If so, what's an easy way to do this. I have generated a sitemap using Yoast, but I can't seem to find any xml files within the wordpress folder. Within the plugin is a button that I can click to access the sitemap index, but it just brings me to the homepage of my blog.
Can I build a sitemap index that points to a sitemap for the static pages as well as the sitemap generated by yoast? Thank you in advance for your help!!
P.S. I'm kind of a noob.
-
It doesn't matter sitemaps are designed to make sure all your pages are crawled and improve the chances of indexing.
Happy Link building
-
Thanks, Chris. I was able to manually add my static pages in the root folder to the sitemap built by the google XML sitemap generator. This works out great since I can control their priority and other settings, including the location of the sitemap file itself.
One additional question is, within the sitemap, does the order of pages matter? In other words, if I want to drive more traffic to my static pages (not wordpress), should they come first in the sitemap, or does the priority ranking take care of this?
Thanks a million for all your help!!
-
Having more than one sitemap is not an issue for SEO.if anything it makes sure the search spiders can definitely find your content.
The Google XML sitemaps plugin normally creates a file in the Wordpress folder i.e..
yourdomain.com/wp/sitemap.xml but you can define your preferred location
When you publish a new blog or page the sitemap will automatically update.
-
Thanks, Chris. Does it hurt my site in terms of SEO to have two separate sitemaps? I know there's no real answer for this, but I'd like to have a grip of the pro's and con's.
Also, I my brain was heading down this path with the idea that I could tie the two sitemaps together using a sitemap index which would list both of them. Do you know the default location of the sitemap generated by Google XML Sitemaps, and if the file name changes when it is updated? I believe this is all the information I would need to put both in a sitemap index.
Thanks again!!
-
I use the Google XML Sitemaps plugin to automatically generate my sitemap for my blog. You can have more than 1 sitemap for a site so you could create a 2nd sitemap for the static pages & manually manage this as static pages are less likely to change. If the static pages are part of your Wordpress install then the plugin will pick these up too.
-
I just found this article by Yoast himself. Sounds like he ran into a few of the same hurdles you have and created a PHP script to help build a sitemap. http://yoast.com/xml-sitemap-php-script/
Hope that helps.
The only other option I would recommend is to build the sitemap yourself. I recently purchased http://www.xml-sitemaps.com/ based on some of the other Q&A threads in SEOmoz and used it for a large ecommerce site. It was a good fix to my problems. Maybe a help, maybe not.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How to optimize Wordpress.org hosted blogs
I've got a blog I'm working on that isn't self-hosted. I've attached a screenshot of the message I get if I try to install any plugins. I really want to block archive, author, tag, category, etc pages but I can't seem to find a way since there's no server for me to block via robots.txt or .htaccess and I can't actually install these plugins which would give me the ability to do it. Any suggestions? vQfnt
Technical SEO | | ShawnW0 -
How do I optimize a website for SEO for a client that is using a subdirectory as a seperate website?
We launched a subdirectory site about two months ago for our client. What's happening is searches for the topic covered by the subdirectory are yielding search results for the old site and not the new site. We'd like to change this. Are there best practices for the subdirectory site Specifically we're looking for things we can do using sitemapping and Webmaster tools. Are there other technical things we can do? Thanks you.
Technical SEO | | IVSeoTeam120 -
Website Down
Hello guys, My website hasn't been reachable for couple of hours today and I can't really understand why as no links have been built, all the best practices have been followed regarding on page optimization. I also checked google webmaster tools and there are no warning messages, crawl problems or anything so I don't understand why this has happened. Now for some reason the website is up and running again.
Technical SEO | | PremioOscar1 -
Should each new blog post be added to Sitemap.xml
Hello everyone, I have a website that has only static content. I have recently added a Blog to my website and I am wondering if I need to add each new Blog post to my Sitemap.xml file? Or is there another way/better way to get the Blog posting index? Any advice is greatly appreciated!
Technical SEO | | threebiz0 -
Does anyone know a sitemap generation tool that updates your sitemap based on changes on your website?
We have a massive site with thousands of pages which we update everyday. Is there a sitemap generator that can create google sitemaps on the fly and change only based on changes in the site? Our site is much too large to create new sitemaps on regular basis. Is there a tool that will run on server that does this automatically?
Technical SEO | | gwynethmarta0 -
We registered with Yahoo Directory. Why won't this show up as a a linking root domain in our link analysis??
Recently checked our link analysis report for 2 of our campaigns who are registered in the dir.yahoo.com (yahoo directory). For some reason, we don't see this being a domain that shows up as linking to our website - why is this?
Technical SEO | | MMP0 -
Exclude Child URLs from XML Sitemap Generator (Wordpress)
Hi all, I was recommended the XML Sitemap Generator for Wordpress by the very helpful Keith Bloemendaal and John Pring - however I can't seem to exclude child URLs. There is a section Exclude items and a subsection Exclude posts. I have tried inputting the URLs for the pages I don't want in the sitemap, however that didn't work. So I read that you have to include a list of "IDs" - not sure where on earth to find that info, tried the page name and the post= number from the URL, however neither worked. I hope somebody can point me in the right direction - and apologies, I am a Wordpress novice, and I got no answers from the Wordpress forums so turned right back to SEOmoz! Cheers.
Technical SEO | | markadoi840 -
Promoting a blog or a blog article
Hi what is the best way to promote a blog or a blog article. What i want to do is to find a site when i can put part of the article on that site and then have a link going to my blog for the article. Can anyone recommend any sites that do this please or the best ways to promote a new article from a blog
Technical SEO | | ClaireH-1848860