93
Automatically generate a sitemap for the wiki
Raven Zachary
Wiki.js should create a sitemap.xml on a standard path (e.g. wiki.example.com/sitemap.xml) and dynamically update it as pages are added and deleted.
Activity Feed
Sort by
Nils
Waiting for this for years. The lack of this simple, but ultimately game breaking feature shows me the developer simply does not understand the main thing you need a wiki for: To be visible on Google... Noone will find your articles, if Google can't find them and right now I have all my articles in my test installation not being listed by Google and have hosted the test installation for around two years, the only pages that are being listed are the ones visibly linked on the frontpage. Yes - I could manually add a sitemap, but this is a pain if you got thousands of articles. Please upvote this feature request more so this ultimately gets implemented.
H
Hintea Dan
Hi all, HUGE vote for this feature as well.
In the meantime, here's my workaround, hope it helps:
---
+ Get a SQL client (I use and recommend the free Beekeeper Studio: https://www.beekeeperstudio.io/)
---
+ Connect to WikiJS SQL Database
---
+ Generate the sitemap as TXT/CSV (Google accepts it), by doing following 4 steps
---
+ Run this SQL command (it's safe, doesn't alter ant data, just reads); Note that this script is for PosgreSQL, syntax might differ slightly for other DB systems.
--------
select
|| "localeCode"
|| '/'
|| "path"
from
"pages"
--------
+ Save the results as TXT/CSV (Download as TSV in Beekeeper Studio, bottom-right corner)
---
+ Open the file in Notepad/Notepad++/VScode/etc and clean it up
- Each URL must be on a new line
- Remove the quote (") character
---
+ Save the file as: sitemap.csv
---
+ Upload the file in your wiki via the Asset manager, just like uploading an image asset
---
+ Check that the URL works, by accessing
---
+ Go to Google Search Console, and submit the sitemap URL (https://put.here.your.wiki.domain.com/sitemap.csv)
-----
Regenerate sitemap.csv whenever pages are added or removed; no need to resubmit it to google as Google will automatically re-check it periodically.
-----
Not 100% automated, but still... a lot easier than managing URL by URL via Google's Search Console.
F
Felix
We really need this!
James Miller
Definitely. This is necessary.
Guilherme Couto
Any updates?
J
Joe Lopez Cuenca
Any updates on this feature?
junicast
I agree. Currently plenty of my pages are just not in the index. This is a show stopper in times of SEO.
Hangyeol Shin
Is there any update or plan for this on 2021..? and even 2022..?
Barış Kürşat
Hi there... any updates about this feature?
S
Senol Sahin
This feature is a must.
Load More
→