ikulagin
Forum Replies Created
-
The issue is not fully resolved. The sitemap.xml is accessible now, however it doesn’t work properly.
I’ve got 2 sitemaps for US and Canadian version of the website:
1. hos247.com/sitemap.xml
2. hos247.com/canada/sitemap.xmlBoth versions are in the English language, only location is different. WPML plugin is configured and shows alternate versions correctly – https://prnt.sc/10sbvz8 .
Things that need to be corrected in the AIOSEO Sitemap.xml:
1. https://prnt.sc/yoikvl – on Category pages (problem on both US and Canada sitemaps) there’s no indication of the language code, but in the category pages’ source code language is indicated and it would be great to add it here too – https://prnt.sc/yoim0v . At the same time there’re some custom pages with no language code in the source, we don’t indicate it here and it’s good – https://prnt.sc/yoimmo .So with the US sitemap everything else is OK, but there’re some issues specifically with the Canadian sitemap:
1. https://prnt.sc/yoid7q – wrong language code “en” is used for Canadian posts and they don’t show the US alternate version when on the US sitemap you show it correctly https://prnt.sc/yoiijx . https://prnt.sc/yoiocd – we use the correct code for Pages, but we indicate the wrong “en” language code for all the articles and for the Homepage – https://prnt.sc/yoiq2z and we also should indicate alternate ‘en’ versions for them as we do for the pages.
2. On Canadian sitemap there’s no point to show any US pages (pages that have only US version – https://prnt.sc/yoiw7e ) as we duplicate info from the US sitemap – https://prnt.sc/yoiue6 , https://prnt.sc/yoiv3w and https://prnt.sc/yoivda . So we should not show any US Pages, Posts and Categories as they are already being shown on the US sitemap. In such a way in Google Search Console I will see a different amount of pages in the US and Canada sitemaps, I will see the actual amount of the Canadian pages.`
- This reply was modified 3 years, 8 months ago by ikulagin.
Hi Arnaud,
thanks a lot, I will contact you shortly.
Illia
Hi Arnaud,
please let me know when the new update will be available for download? As I see in the changelog that there’re 2 updates already https://prnt.sc/y06u9k and in one of them you mention Sitemap.
Thanks a lot,
IlliaHi @arnaudbroes,
yes, now I see that in the sitemap.xml a wrong language code “canada” is used – https://prnt.sc/xnily6 , it might be taken from a wrong place as on the page code I configured the language code correctly – https://prnt.sc/xnipkt .
I checked my configuration and see that hreflang instead Code should be used for the sitemap.xml file – https://prnt.sc/xnj0q4 as this code is used in the page source. Now a custom code “canada” is used https://prnt.sc/xnj4i0 that might break the sitemap.xml file. I created a custom language for English in Canada and called the code “canada” as it’s used to construct a URL of the page.
ILLIA
Forum: Plugins
In reply to: [WP-Paginate] 301 redirect performed when clicking on page 1Great! Thanks a lot ??
Forum: Plugins
In reply to: [WP-Paginate] 301 redirect performed when clicking on page 1Hi, I actually have the other issue with the removal of last slash. I have 301 redirects on all pages on my pagination list from non-slash at the end to adding a slash.
It would be great if you add a feature to choose whether to use or not to use a slash at the end. As have of the people would face 301 redirect depending on their URL stratagy.
Unfortunately I have to deactivate the pluging before this feature would be released or the last slash would be returned as it was during the last couple of years that I used the plugin.
Thanks.