wintercms / wn-sitemap-plugin

Sitemap plugin for Winter CMS
https://wintercms.com/
MIT License
9 stars 5 forks source link

Success message says - Definition updated but file is not generated? #15

Closed tarunhere closed 1 month ago

tarunhere commented 1 year ago

After installation of this plugin, I added a few definitions from CMS pages and on clicking save, I got success message of "Definition updated" but while trying to access website.com/sitemap.xml , it gave 404!!

Anything I am missing?

I have WinterCMS 1.2.1 and I have used the public folder setup, do I need to symlink again? i have proper permission for the public folder as well. What else shall I check to get the sitemap file?

LukeTowers commented 1 year ago

@tarunhere did you cache the routes at all? Try running artisan cache:clear and artisan route:clear.

tarunhere commented 1 year ago

I haven't cache the route, still I ran these commands but still not able to see the sitemap file? I think this file should be added in public folder as I have used mirror, correct me if I am wrong.

Let me know what other steps I can do to get this going.

On Thu, Oct 26, 2023 at 6:44 AM Luke Towers @.***> wrote:

@tarunhere https://github.com/tarunhere did you cache the routes at all? Try running artisan cache:clear and artisan route:clear.

— Reply to this email directly, view it on GitHub https://github.com/wintercms/wn-sitemap-plugin/issues/15#issuecomment-1780265983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7OPAHVGASMQE5VBABV3ATYBG2N3AVCNFSM6AAAAAA6K2C7ACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBQGI3DKOJYGM . You are receiving this because you were mentioned.Message ID: @.***>

-- Regards, Tarunkumar N Bagmar

LukeTowers commented 1 year ago

Sitemap.xml is a dynamic route, it's not a generated file. Check your server configuration to make sure that the 404 errors are being routed to Winter to handle rather than being handled by your server software.

zoomyboy commented 1 month ago

Same problem here. Success message appears, but no update occured.