Sitemaps - Format Issue
-
Hi,
I have a little issue with a client site whose programmer seems kind of unwilling to change things that he has been doing a long time.
So, he has had this dynamic site set up for a few years and active in google webmaster tools and others, but is not happy with the traffic it is getting.
When I looked at webmaster tools I see that he has a sitemap registered, but it is /sitemap.php
When I said that we should be offering the SE's /sitemap.xml his response is that sitemap.php checks the site every day and generates /sitemap.xml, but there is no /sitemap.xml registered in webmaster tools.
My gut is telling me that he should just register /sitemap.xml in webmaster tools, but it is a hard sell
Anyone have any definitive experience of people doing this before and whether it is an issue?
My feeling is that it doesn't need to be rocket science...
Any input appreciated,
Sha
-
I have a sitemap.php on my sites. The file contains the php code which generates my xml sitemap. It is perfectly standard and common practice.
The question for your programmer is, where is the output xml file located? A sitemap program will output the file to the same location each time it is updated. He should be able to provide you a link to the file.
I would advise the URL to be placed somewhere like mydomain.com/sitemap directory. If a deeper directory is preferred, then add the location to robots.txt. Either way it cannot hurt to update the sitemap in Google WMT. With that said, it is not necessary to do so as long as you can confirm Google is getting the information.
-
I haven't seen a sitemap.php in a long time, Sha. Certainly Google could read it if they want, but whether they will or not is the question. I would be inclined to doubt it.
If he says that it's generating a sitemap.xml, but none is present on WMT, then I would respond that one of two things is happening:
1. It isn't generating the sitemap in an xml format at all, but only in php, or
2. For some reason, the xml version is either not transmitted, or not received.
The only other possibility that comes to mind is that perhaps the conversion from php to xml is not tagged in a fashion to be recognized as an xml file, and WMT is detecting it as php and assigning it that status accordingly. I suppose that could happen, particularly if he is using an outdated plugin or if of his own coding, the conversion is faulty.
I'd be interested in hearing what you ultimately learn on this.
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
-
Sitemap For Static Content And Blog
We'll be uploading a sitemap to google search console for a new site. We have ~70-80 static pages that don't really chance much (some may change as we modify a couple pages over the course of the year). But we have a separate blog on the site which we will be adding content to frequently. How can I set up the sitemap to make sure that "future" blog posts will get picked up and indexed. I used a sitemap generator and it picked up the first blog post that's on the site, but am wondering what happens with future ones? I don't want to resubmit a new sitemap each time that has a link to a new blog post we posted.
Technical SEO | | vikasnwu0 -
Issues with sitelnks anchor text
Hi Everyone, I'm currently running a job classified ad site, and having some problems with my brand site links. So in short, when I type my brand some sitelinks appear which is OK, but there is one that has the anchor text as "1", yep just a number one, as far as I know, Google takes the anchor text from internal linking, and since this the landing page for my search site.com/search-jobs I don't want to demote it. Now I started checking why the number "1" is actually showing and I figured it out it might be due to pagination, since the search results (?=page2, ?=page3, etc) were all linking from the bottom numbers to site.com/search-jobs with the almighty number 1, I took a decision on changing that link to site.com/search-jobs?page=1 and adding a canonical tag to the landing page to avoid duplicated content. The solution worked for a few days for private sessions only (anchor text was Search for jobs in Peru), but after that number 1 came back and I can't figure it out how to change it, tried to update the cache on search console on most pages that still had the previous version but to no avail. My boss and I are trying to fix this issue but no luck yet, should I update all of my pages' cache?, any help would be much appreciated.
Technical SEO | | JoaoCJ0 -
Which Sitemap to keep - Http or https (or both)
Hi, Just finished upgrading my site to the ssl version (like so many other webmasters now that it may be a ranking factor). FIxed all links, CDN links are now secure, etc and 301 Redirected all pages from http to https. Changed property in Google Analytics from http to https and added https version in Webmaster Tools. So far, so good. Now the question is should I add the https version of the sitemap in the new HTTPS site in webmasters or retain the existing http one? Ideally switching over completely to https version by adding a new sitemap would make more sense as the http version of the sitemap would anyways now be re-directed to HTTPS. But the last thing i can is to get penalized for duplicate content. Could you please suggest as I am still a rookie in this department. If I should add the https sitemap version in the new site, should i delete the old http one or no harm retaining it.
Technical SEO | | ashishb010 -
2 sites using 1 CMS... issues?
Hi, We are working with a client that has 2 sites in the same sector. They are currently on separate servers, with separate blogs, images galleries etc. Both sites rank combined for over 200 terms. IF we were to "combine" the sites on one CMS, with one IP, two separate front ends, one blog stream, one image gallery what do you think the SEO impact would be from this? We had an issue with another client whose sites were too close and we had to separate in order to get them both to rank. Further to this we want both sites to now have their own https certificate however this wouldn't be possible if combined. Interested to hear thoughts on this. Thanks
Technical SEO | | lauratagdigital0 -
What is the value of having an HTML sitemap on site?
For years now whenever we recreate a site we always set up both an xml sitemap and an html sitemap page. Stupid question maybe - but what is the value to having an html sitemap on site?
Technical SEO | | Pete40 -
Noindex nofollow issue
Hi, For some reason 2 pages on my website, time to time get noindex nofollow tags they disappear from search engine, i have to log in my thesis wp theme and uncheck box for "noindex" "nofollow" and them update, in couple days my website is back up. here is screen shot http://screencast.com/t/A6V6tIr2Cb6 Is that something in thesis theme that cause the problem? even though i unchecked the box and updated but its still stays checked http://screencast.com/t/TnjDcYfsH4sq appreciated for your help!
Technical SEO | | tonyklu0 -
How to Solve Duplicate Page Content Issue?
I have created one campaign over SEOmoz tools for my website. I have found 89 duplicate content issue from report. Please, look in to Duplicate Page Content Issue. I am quite confuse to resolve this issue. Can any one suggest me best solution to resolve it?
Technical SEO | | CommercePundit0 -
Sitemap with links and images together
Hi there, my e-commerce platform (Magento with "Mageworx SEO Enterprise" plugin) is generating an sitemap.xml that mix text (links) and images, and the result is something like that: <url><loc>http://www.e-lustre.com.br/abajur/abajur-keops</loc>
Technical SEO | | e-Lustre
<lastmod>2011-04-10</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
image:imageimage:lochttp://www.e-lustre.com.br/catalog/product/image/size/250x250/e/-/e- lustre_mantra_0030_grande.jpg</image:loc></image:image></url> WebmasterTools accepts it, but recognize it as an image sitemap. Have you seen that kind of sitemap, and most important, do you think that's a problem ? Full file: http://www.e-lustre.com.br/sitemap.xml0