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
-
Bulk redirection of blogs
Hi all, we're going to changing the url structure of our website. Moving from: /news-and-views/blog/thisistheblogpost to /blog/thisistheblogpost (ie removing the /news-and-views/ portion of the url). There's approximately 300 posts. I have 2 questions - will this have an impact on domain wide authority? and is bulk 301 redirects the best solution? The blogs themselves don't get a huge amount of traffic but we just want to make sure we don't do something that will be penalized by search engines.
Technical SEO | | francisclark2 -
Sitemaps:
Hello, doing an audit found in our sitemaps the tag which at the time was to say that the url was mobile. In our case the URL is the same for desktop and mobile.
Technical SEO | | romaro
Do you recommend leaving or removing it?
Thank you!0 -
Squarespace or Wordpress for a Photographer
Hi, I was wondering if people would recommend squarespace or wordpress for a photographer. I'm mainly curious about how wordpress uses internal links for their images and squarespace images exist on http://static1.squarespace.com. Wouldn't a photographers website, one that focuses on images, be better on wordpress for this readson?
Technical SEO | | mattdinbrooklyn1 -
Is there any SEO benefit to pulling a picture from another website and linking to it from a blog?
For example, if blog.mountainmedia.com were to link a product picture directly to mountainmedia.com. Would this be considered a high quality backlink?
Technical SEO | | MountainMedia0 -
Links into website that are unnatural - a paid article
I prepared an article for another related website and posted it on my website - http://www.gardenbeet.com/garden_design_blog/garden-ideas/save-money-and-create-diversity-seeds-and-small-plants-are-better/ I was paid to write an article and provided a link to the related website at the end of the article - I declared the payment a good 10 months later the page where the article sits has become the 2nd most linked to page on my website - SEOmoz is giving it a Page Authority of 48 and all the links are coming from a wide variety of forums using one anchor text link phrase in the latest google update my homepage PR dropped by 1 - I am assuming the penalty came because of this article is it worth changing the URL to remove these spammy links to my website?
Technical SEO | | GardenBeet0 -
Website hacked
Hi I've been asked to help a colleague with his website. It seems to be hacked. He recently received an e-mail from Google saying his adwords account was suspended 'due to high probability his site may be hosting or distributing malicious software' I just checked his source and there seems to loads of weird on code on his pages, this would not have been but on by any members of the website owners. Please image attached when we try to access his website via google search I just contacted the hosting provider - does anyone have experience with this and how to prevent such hacking in the future. The site is build using HTML with no CMS. IjW19.jpg
Technical SEO | | Socialdude0 -
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 -
Seomoz is showing duplicate page content for my wordpress blog
Hi Everyone, My seomoz crawl diagnostics is indicating that I have duplicate content issues in the wordpress blog section of my site located at: http://www.cleversplash.com/blog/ What is the best strategy to deal with this? Is there a plugin that can resolve this? I really appreciate your help guys. Martin
Technical SEO | | RogersSEO0