Comments (18)
Sitemap yang auto generate sebenarnya cukup berbahaya kalau misal bot yang crawl, 1000+ halaman langsung bisa down kalau baca satu persatu. Untuk homepage harusnya 'hourly' dan halaman lain 'yearly'. Lagian sitemap hanya sangat berguna untuk situs yang navigasinya kurang, misal tidak ada archive, tag dll jadi halaman tersebut tidak dilink dari halaman lain. Untuk yang auto generate perlu dibikin fungsi baru sebenarnya yang cuman melist URLnya saja.
Bentar saya bikin biar bebas bereksplorasi dan tidak takut memperberat situs. get_posts saat ini itu juga membaca isi kontennya jadi jelaslah kalau berat :)
from htmly.
Iya kalau get_posts juga misal ambil tags malah jadi double tags nya karena dari 2 post misal tagnya.. :)
from htmly.
Kira-kira cepet tidak ini www.serverios.com/sitemap.xml supaya lebih cepet jangan di sort by date.
from htmly.
Wah cepet itu proses nya :) +1
from htmly.
issue kayanya bisa di close nih 💃
from htmly.
Sudah saya commit, menggunakan sitemapindex biar loading juga terbagi. Saya close nih :)
from htmly.
Purfecto ! :D
from htmly.
Update: commit lagi untuk menambahkan author URL.
from htmly.
Static dan author di set yearly kali :D biar fokus ke konten dan arsip tag
from htmly.
Untuk profile malah kalau rajin update terus berubah, change freq sepertinya tidak relevan banget, masak postingan berubah terus misal minggu/bulan dll, jadi dari pada bingung akhirnya diset paling lama bulanan. Anggap saja misal nanti static dijadikan semacam halaman dokumentasi dll. :)
from htmly.
Pakai http://www.sitemaps.org/protocol.html#lastmoddef LastMod gimana? -- ideal sih per bulan yah :)
from htmly.
Dikosongin saja lagian optional, kalau mendetek kapan berubah karena tidak punya database maka harus baca filenya.
from htmly.
Kalau gitu changefreq mending kosongin saja yah? main di priority saja :D jadi suka2 google mau balik lagi nya kapan, di wmt bisa resubmit kalau ada perubahan kan?
from htmly.
Tanpa submit saja Google itu pasti pertama baca robots.txt langsung ke sitemap.xml. Pasti keupdatelah. Sip langsung saya ubah. Pakai defaultnya sajalah.
from htmly.
Hehe.. iya sih baca robots tapi setidak masih dalam guidelines kan :D
from htmly.
Tapi untuk hal kayak gini dipending saja, coba lihat sitemap.xml situs-situs besar, tidak relevan semua :) wikipedia saja tidak pakai. Malah lagi pingin punya admin panel.
from htmly.
Mau dipending saja? tanggung orang udah jadi sih :) udah gpp-- admin panel pakai apa ya mas dan?
from htmly.
Model kaya droplet- atau ini https://stackedit.io/ bisa gk diedt save as langsung ke folder content?
from htmly.
Related Issues (20)
- Some issues after the new installation HOT 12
- What need to be done to display rtl language (such as Arabic or Hebrew) HOT 1
- RSS import failed HOT 3
- How to customize <title></title> HOT 12
- php-Warning in admin/updates HOT 2
- Can't edit or delete posts HOT 8
- Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string HOT 3
- Known issue: Does not support underscore character in username HOT 1
- Version 2.9.0 - i18n error HOT 11
- Looking to override some css HOT 7
- Feature request: TOC support HOT 5
- Feature request: Adding Mastodon to Social Media links, adding user verification HOT 2
- Installing Issue on armbian, lighty, HOT 5
- Question: HTMLy says server is offline for updates HOT 4
- Teaser break handling (<!--more-->) HOT 4
- Function of "Meta description character" in config HOT 2
- show More than post HOT 2
- I have added a translation into Croatian HOT 4
- New install of HTMLY as of 3/15/2024 HOT 3
- Is it possible to center an image / text ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmly.