Is it possible to know which category page the post was linked from?

As anything that has to do with stats this is really an analytics task and as such not something that WP does natively.

You options are:

  • installing (if not already) some kind of analytics solution and getting data from it

  • add code to that post that will track referers (I won’t really recommend this since it comes with performance issues and poor caching compatibility)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)