Experiencing strange HTTP 404s with my Dynamic XML Sitemap on Laravel SEO setup, any ideas?

Author
Isabella Martinez Author
|
4 days ago Asked
|
14 Views
|
0 Replies
0

hey everyone, so i just launched our 'Dynamic XML Sitemap for Laravel' package and i'm really trying to get the sitemap route working correctly. we're seeing persistent HTTP 404 errors when trying to access the generated sitemap.xml, even though the sitemap itself seems to be generating fine locally.

the problem appears to be with the route not being recognized by Laravel, hindering our laravel seo efforts. it's kinda frustraiting. here's a dummy error log snippet i'm seeing:

[2023-10-27 10:30:00] local.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException: The /sitemap.xml route could not be found. in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:179

i've checked the web.php routes, cleared all the usual caches (config, route, view), and even tried different middleware groups, but nothing seems to stick. any experienced laravel seo folks or package developers have an idea what i might be missing here? could it be a server config or nginx issue i'm overlooking? really looking for some expert insights on this one.

0 Answers

No answers yet.

Be the first to provide a helpful answer!

Your Answer

You must Log In to post an answer and earn reputation.