Giter Club home page Giter Club logo

Comments (2)

yann-eugone avatar yann-eugone commented on July 17, 2024

Hello, and thank you for the suggestion.

I'm not sure if it's a good idea to implement this.
For the same reason it's recommended to rely on a sitemap dump, the robots.txt should be a file at in your public dir.
There is very few reason for this file to change, and there is nothing sensitive, so it is safe to add it to your versioned files.

Also, the robots.txt file can contains much more than just a link to the sitemap, and it's not this bundle responsibility to have all that complexity.

from prestasitemapbundle.

tacman avatar tacman commented on July 17, 2024

Well, yes, but often I forget to have it until a bot tries to access it and I get a 404 error in my logs.

And in fact I do want it to change, if it's a staging or dev version, I want to exclude bots, for example.

So mostly I was looking for a super-simple way to get that functionality, and since you already have somethat that handles sitemap, I thought it'd be worth mentioning. I have some other places I can add it, and now I'll look to see if this bundle is installed to properly generate the sitemap key.

from prestasitemapbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.