Comments (5)
the same here. @Mondane did you solve the problem?
[edit]
I see now, sitemap.xml shows only sections, so when you see /sitemap.default.xml it is default section, go there and you will see your sitemap
from prestasitemapbundle.
I haven't solved this yet. Where did you find that the XML shows sections?
What would be the purpose of that? A search engine, by defaults, looks for the file www.example.com/sitemap.xml . In my opinion, it wouldn't make sence to have sectiosn.
from prestasitemapbundle.
@Mondane A search engine by default looks for the file http://example.com/sitemap.xml and your sitemap is there. But, inside of sitemap.xml there are sections, group of urls. Default one is "default" section, and inside sitemap.xml http://example.com/sitemap.default.xml2016-05-30T18:36:36+00:00 something like that. If you go there http://example.com/sitemap.default.xml you will see there all urls that you have added by your annotation options={"sitemap" = true}. When you use listener and add urls by addUrl() generator method, you can set there not only 'default' section but also another one, in my case it was 'jobs', so I have in sitemap.xml another section http://example.com/sitemap.jobs.xml2016-05-30T18:36:36+00:00 and when I go there I get all jobs added by listener.
from prestasitemapbundle.
@Mondane did @v03adk answers let you solve your problem ? please close if it is
from prestasitemapbundle.
@v03adk thank you for that explanation, I've found my routes now in the default sitemap.
from prestasitemapbundle.
Related Issues (20)
- Main sitemap.xml and all other in differents folders HOT 4
- Repository service id ? HOT 1
- How to include translated routes in dump file ? HOT 2
- Cancel <lastmod> field HOT 1
- Multi-domain errors cause sitemapindex XML confusion
- Creation of sitemap.xml files in sub directory HOT 4
- Deprecation Warning as of Symfony 6.2 HOT 3
- Wrong Domain in Index Sitemap if multiple Tenants are in use HOT 4
- Decorating in AddUrlEvent is impossible HOT 2
- S3 compliant HOT 2
- Fill field lastmod on a per url basis ? HOT 2
- Help: No URLs were added to sitemap by EventListeners - this may happen when provided section is invalid HOT 2
- Urlset->add() doesn't use Url->lastmod() for the Urlset lastmod HOT 3
- Drop Symfony 4.4, add Symfony 7 HOT 4
- Add /robots.txt route HOT 2
- Add (or Document) how to get the section list from the sitemap service HOT 1
- Add option for xsl
- route context not generating as expected HOT 5
- Routes generated twice in the XML HOT 3
- Allow to add custom URLs to sitemap index without populating section HOT 12
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 prestasitemapbundle.