Possibility to add url to sitemap with foreach #366
Unanswered
denisp1993
asked this question in
Q&A
Replies: 2 comments
-
I ran into the same issue cant seem to find an answer for this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is possible. Just unchain the code.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, thanks for your amazing package.
I've some items paginated with vue js (load more way), so the crawler can't index this elements.
There's a way to do a foreach on model items like in this package?
https://github.com/dwightwatson/sitemap
Example:
`$posts = Post::all();
I've try with this way, but the loop override my sitemap every time.
`$real_estate_objects = RealEstateObject::published()->get();
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions