Can you reference http and https in a sitemap.xml?
-
I have a site where some pages (in Spanish) are https. The english pages are http. Can you tell me if it's okay to have both in the sitemap.xml?
-
After reading some Google documentation I set it up like this:
<url><loc>http://www.mexpro.com/</loc>
<lastmod>2014-08-25T21:02:47+00:00</lastmod>
<changefreq>monthly</changefreq>
<priority>1.00</priority>
<xhtml:link <br="">rel="alternate"
hreflang="es-mx"
href="https://www.mexpro.com/mx/"
/>
<xhtml:link <br="">rel="alternate"
hreflang="en"
href="http://www.mexpro.com/"
/>
<xhtml:link <br="">rel="canonical"
href="http://www.mexpro.com/mexico/"
/></xhtml:link></xhtml:link></xhtml:link></url>Do I need rel="alternate" and rel="canonical" for the sitemap, or is it better to do a traditional sitemap for English and Spanish?Thank you.
-
I think you can, I always would make it two different sitemaps though to also have the data for the specific languages.
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
-
400-499 http status code
Hi there, I noticed in Bing Webmaster Tools that we get the following for the home page.These pages have 400-499 http status code. Ensuring http status 200 might help improve SERP performance and gain user traffic.I haven't seen this before, nothing comes up in Moz or Google Webmaster Tools about it.Is it worth spending time on resolving the issue, I don't see how it affects us as the page loads up perfectly but I don't understand the error.The error shows up for our home page, https : // wwww domainname comWhen checking here we get green ticks for everything sslshopper.com/ssl-checker.html
On-Page Optimization | | IvanaDaulay0 -
Duplicate URL's in Sitemap? Is that a problem?
I submitted a sitemap to on Search Console - but noticed that there are duplicate URLs, is that a problem for Google?
On-Page Optimization | | Luciana_BAH0 -
Can horrific grammar and spelling in comments hurt the value of an otherwise great page?
I've got a website whose pages get lots of comments. Tons of activity, which I would think Google would like (and seems to like). However -- I just can't put this nicely -- most commenters are not very bright. Their grammar and spelling is horrific. These are not foreigners who lack English skills, they are just about all primarily English speakers and the site is 99% US traffic. It's a low-income segment of the population. So, I've been wondering recently if Google will mark down the value of the page due to the bad grammar and spelling in the comments, even if the page's content is otherwise very good and lengthy. I have read that they grammar and spelling into consideration when looking at the page, but would that include comments, or would they know they are comments and not judge a page on that? It would be a pain, but maybe I should I run all the comments at least through a spell checker? And manually fix their grammar? Problem is I get about 40 comments a day. And when I say bad grammar and spelling, I mean REALLY bad. Embarrassing.
On-Page Optimization | | bizzer0 -
Does anyone use Genesis Framework? If so can a newbie use it and a few other questions
Hi, So as I search the wonderful land of the internet, I see this Genesis framework brought up quite a bit. I have researched it for a few weeks, but it seems like it uses hooks instead of shortcodes. So I am curious if anyone has used it? And if so what your thoughts are about it? I am a COMPLETE newbie here, so hooks look scary. I am sure with time they will seem like second nature. They claim it has airtight security. So if you have used this framework, how is this any different than an updated stock wordpress site? I understand that vulnerabilities may be in plugins and such, but if it is really airtight, that seems great. Any thoughts are appreciated as I just want the best user experience. So many people use this framework, yet my site gets if I'm lucky 1000 views each month. It is a basic site to let people know we exist. So its not like I have a popular blog with 50,000 pageviews each month. But... going into the future, I want a pleasant and consistent user experience. Maybe a wordpress theme is all you need. Maybe a framework is more for developers. Any thoughts are greatly appreciated. Chris
On-Page Optimization | | asbchris0 -
Is this sitemap valid?
I seem to be having a problem getting google to index all the pages on my site. Usually within a week they've been indexed. The sitemap url is http://www.local-sex-search.com/sitemap.xml (this is an adult dating site). Any help appreciated.
On-Page Optimization | | SamCUK0 -
Is Google indexing something I can't see on my page title?
When I do a search for my businesses website (colourpages.com) it returns a listing which is great but the title tag includes Hull Colour Pages which is our old brand name - we changed to colourpages.com 2 years ago yet Hull Colour Pages is still pulling through on the title tag. I have checked the source and it's as follows: <title>Plumbers in Hull - Reviews - colourpages.com</title> I have attached a photo which shows the issue - http://imgur.com/Cva3001 Is Google indexing it from old history that is no longer visible or am I missing something? Cva3001
On-Page Optimization | | colourpages0 -
Can you expound why i have to avoid using meta keywords?
I'm using the on page report card and it tells me that i have to avoid using meta keywords.I'm a little bit confused. I thought that it's important to use it all the time so search engine can better index the site. if I use SEO Quake it will tell me in the diagnostic test that I need to input keywords.
On-Page Optimization | | jsevilla0