Siemap.xml appearing in SERP
-
My sitemap.xml was appearing in the google serp for certain keywords (& not my actual page onsite). Please see image.
I recently blocked my sitemap.xml with a robots.txt exclusion but now the sitemap.xml is not getting crawled in google webmaster. Is this the correct method of excluding the sitemap.xml for the serp?
User-agent: * Disallow: /assets/cache/ Disallow: /assets/docs/ Disallow: /assets/export/ Disallow: /assets/import/ Disallow: /assets/modules/ Disallow: /assets/plugins/ Disallow: /assets/snippets/ Disallow: /manager/ Disallow: /sitemap.xml Sitemap: http://bryansryan.ie/sitemap.xml
Any suggestions what should be done here? thanks.
-
you could try blocking via x-robots in the htaccess file:
-
from the image you will see I googled - Kyocera Black and White Printers but the sitemap.xml is coming up in the SERP and not my actual page. It's pointless having the sitemap.xml appear in the SERP.
-
Is it ranking for some keywords or did you simply search for you sitemap? In that case I really dont see the problem. Then I rather google indexed my sitemap.
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
-
Sudden issue: no google cache for any product detail pages and offer schema missing from SERPS
Absolutely no idea what is going on. All of our category / subcategory and other support pages are indexed and cached as normal, but suddenly none of our product pages are cached, and all of the product / offer schema snippets have been dropped from the serps as well (price, review count, average rating etc). When I inspect a product detail page url in GSC, I am either getting errors or it is returned as a soft 404. There have been no recent changes to our website that are obvious culprits. When I request indexing, it works fine for non-product pages, but generates the "Something went wrong
Technical SEO | | jamestown
If the issue persists, try again in a few hours" message for any product page submitted. We are not SEO novices. This is an Angular 7 site with a Universal version launched back in October (new site, same domain), and until this strange issue cropped up we'd enjoyed steady improvement of rankings and GSC technical issues. Has anyone seen anything like this? We are seeing rapid deterioration in rankings overnight for all product detail pages due to this issue. A term / page combination that ranked for over a decade in the top 10 lost 10 places overnight... There's just no obvious culprit. Using chrome dev tools to view as googlebot, everything is kosher. No weird redirects, no errors, returns 200 and page loads. Thank You0 -
Help: trying to get social media channels to show up in SERP knowledge panel
I have embedded the code intended to tell Google which social media profiles (Facebook, Twitter, YouTube, LinkedIn, etc...) are associated with client on their website. It was done via the Yoast SEO plugin for WordPress. I have also tested that code on Google's structured data testing tool and it checks out. I had previously used another SEO audit tool (Seomator) and that said it checked out as well. However... the SERP for this client is still showing only their basic Google business listing info and not the additional panel showing their associated social media channels. I followed some instructions (https://developers.google.com/webmasters/social-markup/#my_social_media_profile_isnt_displaying) searching to fix this problem at the Google developer site and it said something about clicking "feedback" at the bottom of the knowledge graph panel and then clicking on "wrong?" over the name and then entering something about how it's not displaying the social media channels. The problem is I don't see this text: "wrong?" anywhere to click on. Been troubleshooting this for a month now and can't find an answer. Did I do something wrong like not turning around once counterclockwise and barking like a seal? 😉
Technical SEO | | therealfudgypup0 -
/home-2 showing in SERPS but not the homepage
I'm in the process of having a site built using WP as the cms, and keeping SEO in mind while it's being produced. Because I'm experimenting with title/meta desc I'm checking rankings each day on whatsmyserp dot com. During development I noticed one day the ranking for websitename.com had disappeared and websitename.com/home-2 was ranking. I went into pages of the wp account and deleted the 2nd homepage that had been created for some reason, and that was over half a week ago now. /home-2 is still ranking even though it's non-existent and the actual homepage url isn't ranking at all. Any suggestions on what I should do/why this is happening? Thanks for any help
Technical SEO | | xcyte0 -
Server crashed - What should I do regarding Google SERP´s?
We have several travel websites in Uruguay since 2003. These sites have a very high PR and Trust. The server where all our sites are hosted has crashed and we have been for 2 days now trying to fix all this mess. We hope this problem will be fixed today. Please I really need to know what should I do regarding Google. I mean one of our sites has been ranking in top 1 positions for more than 150 keywords. Will we loose all that? What can we do about it? It´s the first time this has happened to our sites.
Technical SEO | | ceci27100 -
Google indexing less url's then containded in my sitemap.xml
My sitemap.xml contains 3821 urls but Google (webmaster tools) indexes only 1544 urls. What may be the cause? There is no technical problem. Why does Google index less URLs then contained in my sitemap.xml?
Technical SEO | | Juist0 -
XML Sitemap without PHP
Is it possible to generate an XML sitemap for a site without PHP? If so, how?
Technical SEO | | jeffreytrull11 -
Include pagination in sitemap.xml?
Curious on peoples thoughts around this. Since restructuring our site we have seen a massive uplift in pages indexed and organic traffic with our pagination. But we haven't yet included a sitemap.xml. It's an ancient site that never had one. Given that Google seems to be loving us right now, do we even need a sitemap.xml - aside from the analytical benefis in WM Tools? Would you include pagination URL's (don't worry, we have no duplicate content) in the sitemap.xml? Cheers.
Technical SEO | | sichristie0 -
Star Ratings in SERPS: Is this the correct mark up?
Having trouble getting star ratings to appear in the SERPs. Here's the 'marked up' HTML that a designer implemented into a website, I'm pretty sure it's missing a bunch of stuff: Read the reviews 5 Any help much appreciated!
Technical SEO | | NickPateman810