Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION How to update Sitemap + suggestions
#1
Hello guys,

I have a "plugin" that uses a lot of hacks in the template, so not really a fully standalone plugin. It's sort of catalog that uses SQLite database with remote API (syncing between 3 websites with webhooks).

First problem is, that maybe I did it really wrong, because I inject all content under "catalog" slug, so all subpages return this slug, even if the url is /catalog/category/subcategory/item .. Don't know if this can be done better than just injecting my data into data_index in "index-posttemplate" and some htaccess magic..

Secondly, I need to also generate sitemap for this catalog and I need to update it when webhook fires (aka content is added/removed so category/item is modified/added/removed).

Could you please help me with this?
Reply


Messages In This Thread
How to update Sitemap + suggestions - by morvy - 2017-12-01, 00:55:17



Users browsing this thread: 1 Guest(s)