Comments (23)
I developed a multi-lingual Seo plugin that takes care of multi-lingual sitemaps https://octobercms.com/plugin/utopigs-seo
from sitemap-plugin.
The sitemap plugin needs some significant enhancements, consider submitting a bounty to have this issue addressed sooner.
from sitemap-plugin.
Thanks @Kunilt. We could perhaps tie this in with #40 where there is a need to have multiple sitemaps.
from sitemap-plugin.
@CptMeatball Waiting for me to have time to finish reviewing #55
from sitemap-plugin.
And for me to have time to make a little modification to work ok with rainlab/translate-plugin#318
from sitemap-plugin.
No prob, I just sent the email redeploying to Laravel 6 upgrade
from sitemap-plugin.
This should be fixed in the latest version. Ping my username if it is still an issue.
from sitemap-plugin.
Thanks @daftspunk
I was using the utopigs solution, but mistakenly thought multilanguage support now was integrated into the Rainlab Sitemaps plugin. The utopigs solution is okay, except that it comes with a bunch of other functionality that we're not using.
Will definitely look into creating a sitemap file manually using your proposed solution. Thanks a bunch for your insights.
from sitemap-plugin.
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.
from sitemap-plugin.
Soory for not being clear.
Edge Updates are enabled.
I'm running October with
Core: 364
Pages: 1.2.10
Sitemap: 1.0.6
Translate: 1.2.4 (forceURL = 0)
Here my steps to reproduce this issue.
- Create static pages in English and German, using the URL translation as described in the readme of the translate plugin
- Generate a Sitemap with the plugin.
Add Sitemap Item -> Type: All static pages -> Save
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 opening domain.com/sitemap.xml it shows only the default language urls.
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
from sitemap-plugin.
+1
Sitemap plugin don't work as expected with Translate plugin and for now it's not usable in multilanguage site.
If translation for page is available sitemap should be generated following these guidelines: https://support.google.com/webmasters/answer/2620865?hl=en
from sitemap-plugin.
I really need this functionality for a multilanguage site!
from sitemap-plugin.
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.
from sitemap-plugin.
Hi, I fixed this in pull request #43 can you review it?
from sitemap-plugin.
Functionality will be implemented in #52
from sitemap-plugin.
Is this implemented yet? Because I can't seem to find any ML references in the generated sitemap?
from sitemap-plugin.
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.
from sitemap-plugin.
@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.
from sitemap-plugin.
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
from sitemap-plugin.
@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 [email protected] to redirect the bounty to another issue.
See below that was just emailed out today:
2.13 Bounty Time-Out.
If no Solution is accepted within two years after a Bounty is posted, then the Bounty will be withdrawn and the amount posted for the Bounty will be retained by Bountysource. For Bounties posted before June 30, 2018, the Backer may redeploy their Bounty to a new Issue by contacting [email protected] before July 1, 2020. If the Backer does not redeploy their Bounty by the deadline, the Bounty will be withdrawn and the amount posted for the Bounty will be retained by Bountysource.
If you would be willing to email [email protected] 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.
from sitemap-plugin.
Thanks @mariavilaro, I appreciate it!
from sitemap-plugin.
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?
from sitemap-plugin.
Hey @chocolata, this sitemap plugin supports alternate_locale_urls
but by extension only (3333718). There isn't any native support for translated URLs in this plugin.
This issue resulted in the creation of a new plugin that you can use instead. Here is a link:
https://octobercms.com/plugin/utopigs-seo
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.
##
url = "/blog/rss.xml"
title = "Blog RSS Feed"
[section blog]
[resources]
headers[Content-Type] = 'text/xml'
==
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ this.page.meta_title ?: this.page.title }}</title>
<link>{{ 'blog/index'|page }}</link>
<description>{{ this.page.meta_description ?: this.page.description }}</description>
<atom:link href="{{ 'blog/rss'|page }}" rel="self" type="application/rss+xml" />
{% for post in blog %}<item>
<title>{{ post.title }}</title>
<link>{{ 'blog/post'|page({ slug: post.slug }) }}</link>
<guid>{{ post.slug }}</guid>
<pubDate>{{ post.published_at_date.toRfc2822String }}</pubDate>
<description>{{ post.featured_text }}</description>
</item>
{% endfor %}
</channel>
</rss>
Note in earlier versions you may need to set the header using PHP code instead of the resources
component:
function onStart()
{
$this->setResponseHeader('Content-Type', 'text/xml');
}
I hope this helps
from sitemap-plugin.
Related Issues (20)
- Google indexes the sitemap.xml url in search results HOT 2
- Easier way to implement custom itemTypes HOT 4
- Reordering feature not working properly HOT 7
- URL rendering default instead of category in path HOT 14
- Sitemap returning 404 status code HOT 2
- Implement urls with the language tag HOT 4
- Rendering of empty pages HOT 1
- Seeing output I don't believe should render at the top of the output xml file HOT 1
- Software updating problem, database (MariaDB) doesn't want to update HOT 1
- Sitemap is empty, changes aren't saved HOT 1
- Sitemap won't open, instead downloads source file HOT 15
- Cannot access Sitemap config in Backend on October 2 HOT 4
- Error on sitemap.xml HOT 2
- SitemapHandler::sitemap() should not be called statically HOT 2
- No sitemap definition was found HOT 1
- Show dynamic parameters for pages where are used models made in Builder plugin HOT 1
- Error on /sitemap.xml page after install HOT 2
- The sitemap shows disabled pages HOT 4
- [ERROR] Site Definition Error HOT 1
- It doesn't open sitemap.xml HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sitemap-plugin.