-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with properly with translated URLs #37
Comments
Seems to be working over here. Always provide evidence to support your claims. Also make sure you are using the latest version of October and plugins. As per the contribution guidelines, please provide the exact steps you are taking for the issue to occur. This will be used for peer review. |
Soory for not being clear. Here my steps to reproduce this issue.
Previewing the Sitemap with the link displayed at the backend it only shows the the urls from the default language, secondary translated language URLs are not included. I also cleared my cache and logged out of the backend. If I'm switching to my secondary language and open domain.com/sitemap.xml it only shows the urls from the secondory language but not the urls from the default language. I think no matter what language is selected at the frontend it should always show all URLs (default and additional languages) combined at a single sitemap.xml file. If i did something wront it would be great if you can point me to the right direction. Thanks |
+1 If translation for page is available sitemap should be generated following these guidelines: https://support.google.com/webmasters/answer/2620865?hl=en |
Thanks @Kunilt. We could perhaps tie this in with #40 where there is a need to have multiple sitemaps. |
I really need this functionality for a multilanguage site! |
The sitemap plugin needs some significant enhancements, consider submitting a bounty to have this issue addressed sooner. |
Sorry I'm not sure how this bounty thing works, can you point me in the right direction? I need it ASAP for a production site that I developed for a customer so I am more than happy to pay you for it. Edit: I managed to do it. Thank you for your work. |
Hi, I fixed this in pull request #43 can you review it? |
Functionality will be implemented in #52 |
Is this implemented yet? Because I can't seem to find any ML references in the generated sitemap? |
@CptMeatball Waiting for me to have time to finish reviewing #55 |
And for me to have time to make a little modification to work ok with rainlab/translate-plugin#318 |
Hi guys, what would be the roadmap for allowing multilingual sitemaps in production? This is an important feature when convincing a client to go for an October CMS solution, as Wordpress has lots of plugins that do this out of the box. I appreciate all your work. |
@maartenmachiels if you'd like me to take some time to review all of the proposed solutions and get reacquainted with the code on this so I can merge in a final approach to this issue then perhaps you'd be willing to sponsor that. Outside of that, you can use the PR in progress that @mariavilaro has put a lot of work into or wait for me to get around to finalizing the changes. |
Hi @LukeTowers, I posted a bounty on this issue some time ago, if you can take some time to review and merge my changes, please feel free to claim the bounty https://www.bountysource.com/issues/37451356-does-not-work-with-properly-with-translated-urls |
I developed a multi-lingual Seo plugin that takes care of multi-lingual sitemaps https://octobercms.com/plugin/utopigs-seo |
@mariavilaro in an effort to steal people's money, BountySource has just announced that they're going to be keeping any bounties older than two years unless the bounty poster emails them at support@bountysource.com to redirect the bounty to another issue. See below that was just emailed out today:
If you would be willing to email support@bountysource.com to redirect your bounty to the Laravel 6 upgrade instead, that would be greatly appreciated: https://www.bountysource.com/issues/75392602-move-to-laravel-6 Alternatively, if you would be fine with me submitting a claim on the original bounty (despite you having written your own plugin as a solution), just let me know and I'll do that. |
No prob, I just sent the email redeploying to Laravel 6 upgrade |
Thanks @mariavilaro, I appreciate it! |
This should be fixed in the latest version. Ping my username if it is still an issue. |
Hi @daftspunk #, I'm on version 1.1.1 and October 2.1.31 but it doesn't seem like the sitemap.xml document picks up the different languages of the site. The URLS don't seem to include the language parameter, and the URL's of the default language are shown. Is there a setting I'm overlooking? |
Hey @chocolata, this sitemap plugin supports This issue resulted in the creation of a new plugin that you can use instead. Here is a link: Alternatively, in future releases, we will recommend building a sitemap like any other CMS page. For example, here is a proposed blog RSS feed. This should give you far greater control over the contents and might be something to consider.
Note in earlier versions you may need to set the header using PHP code instead of the
I hope this helps |
Thanks @daftspunk Will definitely look into creating a sitemap file manually using your proposed solution. Thanks a bunch for your insights. |
Just wanted to let you know that translated URLs are not shown properly.
Based on the language selection it shows either the standard language or the translated language URLs but not both of them.
The text was updated successfully, but these errors were encountered: