To track .md files in your server access logs, you generally look for GET requests targeting that specific file extension.
Most web servers like Apache or Nginx log every request by default, so you can filter your logs using tools like grep:
However, since Markdown files are often rendered by a static site generator or a CMS before reaching the user, the "hit" in the log might actually be for an .html file instead of the .md source.
Most web servers like Apache or Nginx log every request by default, so you can filter your logs using tools like grep:
Code:
(e.g., grep "\.md" access.log)
However, since Markdown files are often rendered by a static site generator or a CMS before reaching the user, the "hit" in the log might actually be for an .html file instead of the .md source.