Giter Site home page Giter Site logo

Comments (5)

CPyle avatar CPyle commented on August 22, 2024

Interesting. I'm not sure what could be done about this, as it assumes your urls are generated using the port from the request context and this is generally what you want to have happen.

If you want to fix this yourself just for your current project, you can find the logic for the sitemap.xml route generation in WebAdvanced.Sitemap\Controllers\HomeController.cs line 139.

The custom routes only use this logic for displaying the route preview, but not for any route generation, so they should otherwise be fine.

I'll see about possibly adding a port override in the future.

from orchard-sitemap.

glgrahamjr avatar glgrahamjr commented on August 22, 2024

I am having the same issue. That is, on the xml version of the sitemap the private port number is being appended to the url. Any update on being able to override this without actually modifying the underlying code? Thanks.

from orchard-sitemap.

CPyle avatar CPyle commented on August 22, 2024

I'm going to adjust the url generation to use the the host name configured in the site settings. I see now that this is really the way it should have been done from the beginning.

Don't have a solid ETA on when I'll push this but it should be within the next week.

from orchard-sitemap.

glgrahamjr avatar glgrahamjr commented on August 22, 2024

Any update on how this change is coming along? Thanks.

from orchard-sitemap.

CPyle avatar CPyle commented on August 22, 2024

I've just released 1.6.0 with this change. It should be on the gallery shortly.

from orchard-sitemap.

Related Issues (17)

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.