Code Monkey home page Code Monkey logo

Comments (8)

harlan-zw avatar harlan-zw commented on July 30, 2024

Hey @rcerljenko, thanks for the issue :)

Could you confirm that the site you're using has pages? If it's just an app.vue then I think I guess this is a bug as it should add the root URL always.

Otherwise, are you using vercel-edge?

Any type of reproduction would be helpful if possible

from sitemap.

rcerljenko avatar rcerljenko commented on July 30, 2024

hi... I'm not using vercel edge and yes, my test site has a few pages, such as:
https://nuxt3-vercel-mu.vercel.app/
https://nuxt3-vercel-mu.vercel.app/gdpr
https://nuxt3-vercel-mu.vercel.app/cookies
https://nuxt3-vercel-mu.vercel.app/contact

from sitemap.

rcerljenko avatar rcerljenko commented on July 30, 2024

to be clear... this worked perfectly in the v1 :)

from sitemap.

harlan-zw avatar harlan-zw commented on July 30, 2024

Thanks, can you try with 2.1.8 please ๐Ÿ™

from sitemap.

rcerljenko avatar rcerljenko commented on July 30, 2024

sure thing! as soon as i get to my laptop later today... thx for caring!

from sitemap.

rcerljenko avatar rcerljenko commented on July 30, 2024

ok now it detects all routes but it still renders the HTML preview site
is this normal behavior? i mean, it will render the XML when bot request is ongoing?

https://nuxt3-vercel-mu.vercel.app/sitemap.xml

from sitemap.

harlan-zw avatar harlan-zw commented on July 30, 2024

ok now it detects all routes but it still renders the HTML preview site is this normal behavior? i mean, it will render the XML when bot request is ongoing?

https://nuxt3-vercel-mu.vercel.app/sitemap.xml

The "HTML preview site" is actually just a XML stylesheet. This is completely valid and robots won't use it.

Feel free to check the HTML source / verify it using any third-party tool, it should validate.

Going to close this issue but happy to keep discussing

from sitemap.

rcerljenko avatar rcerljenko commented on July 30, 2024

awesome thx!

from sitemap.

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.