This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 8 replies, has 2 voices.
Last updated by Pawel Wawrzyniak 6 years, 11 months ago.
Assigned support staff: Pawel Wawrzyniak.
Author | Posts |
---|---|
February 3, 2014 at 9:44 am #332041 | |
francoC-2 |
Hi Builiding the sitemap only with pages and author posts with Seo by Yoas that you suggest I have not different sitemaps for each languages that I want to indicate to Google WebMaster tool. Thanks |
February 3, 2014 at 11:31 am #332138 | |
Pawel Wawrzyniak |
Hello, You have choosen to have different languages in directories. You will need to add a little code snippet to your functions.php. Please remember to make a backup of functions.php file. Please let me know if you are satisfied with my answer and Thank you |
February 3, 2014 at 12:50 pm #332225 | |
francoC-2 |
I did it 2 Problems: A Second: Link to sitemap index in sitemap pages Thanks for support |
February 4, 2014 at 7:22 am #332695 | |
Pawel Wawrzyniak |
Hi, I'm consulting our developers and will get back to you as soon as I have any news. Thank you for your patience |
February 5, 2014 at 9:45 am #333616 | |
Pawel Wawrzyniak |
Hello, Thank you for your patience. When you use WPML together with WordPress SEO by Yoast, you’ll get individual sitemaps – one per language only for language-per-domain configuration (more details you can find here: http://wpml.org/2011/12/wpml-2-4-2-content-duplication-and-wysiwyg-custom-fields/ in section Seo Love with Per-Language Sitemaps) Currently we are not supporting separate sitemaps for language-per-directory configuraton. According to following suggestions: hidden link, we have've already implemented rel="alternate" hreflang="x" solution to allow Google easly find correct language, based on content of your page. There are also some additional suggestions from Google how to add hreflang to sitemaps (hidden link). We are closing the ticket but we will keep it in our records and will notify you if we will have any news. |
February 5, 2014 at 10:18 am #333657 | |
francoC-2 |
Hi Pawel What is wrote in section And also referring to the section: Please find me a solution for a correct config. |
February 5, 2014 at 2:22 pm #333930 | |
Pawel Wawrzyniak |
Hi Fabrizio, > When I open the file hidden link Please remove code you've added to your function.php file to generate different sitemaps per language. After that change all pages should be visible in one sitemap at hidden link Could you please make sure that you have latest WordPress, WPML and WPML add-on installed (if any)? Thank you |
February 5, 2014 at 5:22 pm #334090 | |
francoC-2 |
Hi Pawel Now you sugest me to go back and to generate only one sitemap. But in this case I do not telle to google that I've 3 languages. I do not want Google consider all this changhes a mess and penalize my site for dupe Best will be to modify the seo plugin to have the index file linking to te propre language sitemap. The WPML Plugin Version is 3.0.1 |
February 6, 2014 at 9:31 am #334455 | |
Pawel Wawrzyniak |
Hi Fabrizio, I'm sorry, I didn't want to confuse you. Please let me clarify. #1 #2 #3 #4 #5 Hope this helps |
The topic ‘[Closed] Sitemap.xml’ is closed to new replies.