Google ranks my sitemap.xml instead of blog post
-
Hello,
For some reason Google shows sitemap results when i search for my blog url
website.com/blog/postwhy is Google ranking my sitemap but not a post, especially when i search for full URL?
Thanks
-
Hi Kent,
It sounds like your sitemap's link is included in another sitemap file or linked from a page. According to my research,you can add a X-Robots-Tag header to your .htaccess file. This is an old discussion, but I believe still relevant: http://www.webmasterworld.com/google/3971249.htm
Thanks,
Christine DeGraff -
"When I search for my blog url"
If you're searching
Then your sitemap is a relevant source of that post. In fact, probably the most reasonable result for your link other than the link itself.. Think about it like this - you're searching as if your URL is a keyword. Your "keyword" is on that page (likely the link you're searching for is on your sitemap). So Google returns a relevant site that has your "keyword" on it.
Note that this isn't the same as searching
site:website.com/blog/posttitle
It's interesting that it's returning the sitemap not the post but it may have to do with your settings on the post. For instance, if you had noindex on the post, your sitemap should come up #1. If you don't, that's curious at least. But yes, it makes sense.
-
Yes it hasn't been indexed, hmm that is strange, this blog post was posted a while ago,
-
Maybe the blog post hasn't been indexed yet? Try taking a sentence from the article and searching for it in Google and see if it returns any results.
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
-
Delete old blog posts after 301 redirects to new pages?
Hi Moz Community, I've recently created several new pages on my site using much of the same copy from blog posts on the same topics (we did this for design flexibility and a few other reasons). The blogs and pages aren't exactly identical, as the new pages have much more content, but I don't think there's a point to having both and I don't want to have duplicate content, so we've used 301 redirects from the old blog posts to the new pages of the same topic. My question is: can I go ahead and delete the old blog posts? (Or would there be any reasons I shouldn't delete them?) I'm guessing with the 301 redirects, all will be well in the world and I can just delete the old posts, but I wanted to triple check to make sure. Thanks so much for your feedback, I really appreciate it!
Technical SEO | | TaraLP1 -
Sitemap.gz is being indexed and is showing up in SERP instead of actual pages.
Sitemap.gz is being indexed and is showing up in SERP instead of actual pages. I recently uploaded my sitemap file - https://psglearning.com/sitemapcustom/sitemap-index.xml - via Search Console. The only record within the XML file is sitemaps.gz. When I searched for some content on my site - here is the search https://goo.gl/mqxBeq - I was shown the following search result, indicating that our GZ file is getting indexed instead of our pages. http://www.psglearning.com/catalog 1 http://www.psglearning.com ...www.psglearning.com/sitemapcustom/sitemap.gz... 1 https://www.psglearning.com/catalog/productdetails/9781284059656/ 1 https://www.psglearning.com/catalog/productdetails/9781284060454/ 1 ... My sitemap is listed at https://psglearning.com/sitemapcustom/sitemap-index.xml inside the sitemap the only reference is to sitemap.gz. Should we remove the link the the sitemap.gz within the xml file and just serve the actual page paths? <sitemapindex< span=""> xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"></sitemapindex<><sitemap></sitemap>https://www.psglearning.com/sitemapcustom/sitemap.gz<lastmod></lastmod>2017-06-12T09:41-04:00
Technical SEO | | pdowling0 -
Google Search Console - Sitemap
Hi all, Quick question. I'm trying to update my sitemap via Google Search Console using a sitemap.xml file that I've created with ScreamingFrog. However, when trying to submit it, it seems that Google only allows sitemaps that are located at a path within your domain (i.e. www.example.com/sitemap.xml) as opposed to being able to directly upload a sitemap.xml file.Is there any way that I can easily upload my sitemap.xml file? Or is there any easy way that I can upload the file to a path on my domain so I can upload via the URL?Any insight would be much appreciated!Best,Sung
Technical SEO | | hdeg0 -
Why Custom Post Types Don't Get Ranked Well
So I have started to use custom post types and have noticed that they don't get ranked very well in Google. On the other hand a post will rank almost immediately. Does anyone know any tricks for making custom post types rank as well as posts in wordpress? Sincerely, Garret
Technical SEO | | eWebify0 -
Guest Blog Posts (Originally Seen on . .)
We are making a push to get our blog posts featured on other blogs, and bring in guest bloggers. We figured we could just repost a blog post on our blog, and link back to the original post. Obviously this provides some link juice, but do you think it's a bad idea because of duplicate content? Specifically, I'm also a Huffington Post blogger, so I have the option of writing an article, posting it on our site and HuffPo, and linking back to the original to give us links. Any advice?
Technical SEO | | moziodavid0 -
Google previews meanings
I have noticed that when I do a site:mysite.com search and all my indexed pages come up, that when I hover over the arrows and bring up the previews some of the pages have things in a red rectangle and some of the pages even have zig zag-like tears/perforations running through them. What do these signify?
Technical SEO | | VictorVC0 -
Google rankings tanked....Now what?
We just experience a drop in Google rankings, some pretty harsh, across all of the keywords we have been ranking greater than 50. I’m a noob at SEO, but a technical noob so I started doing my home work. I’ve seen references to the “google dance” and “Honeymoon”, but this hit seems to have effected competitors too. Everyone seems re-ranked with several junk directories jumping up more than I think they should. Has anyone else seen this? Is this more Google algorithm adjustment or a natural settling based on our new SEO attempts? In either case, what should we do next? I know there is a holistic approach and everything is important however, we need bang for the buck at this point to before we start bleeding. One or two next steps? Our industry is residential cleaning and the site is www.bitabliss.com Here is a little history:
Technical SEO | | BitABliss
The site that’s been running for about 2 years. We initially put up a very basic “throw something up” site without much thought of SEO except for some basics and a long tail approach with a blog, FaceBook and Twitter. We launched an updated site on Feb 23. with new theme and this time some, “on page” work to better hit the basics. The site structure was kept the same and we added on some more localized content in hopes to take advantage of local searches. Also, enter SEOMoz to get us tracking things (Yay MOZ). Until yesterday, we had been doing pretty well in some of our target cites even with the more basic site. When we launched the new site focusing on page titles, descriptions and page content, and a few directory attempts. We started to see some incremental growth. It seemed to me that this kind of growth meant that we were doing the right things and doing a better job than some of the other sites. Any way, yesterday we got smacked down. This seems too harsh for a for the slow increases we have seen over the last month. Any thoughts you have would be great appreciated. Thanks! -Shawn1