2
I am trying to register the IP, Referrer and date of connection of all visitors to my Wordpress site in a.txt file, but I am not being successful.
I tried with the Plugin 'Webrtc IP Grabber & Logger (STUN Vpns)', but this only records the IP of the server itself where the site is located.
I have already searched many sites and forums the same issue, but also unsuccessful, because I have no idea how to add.php scripts to my pages in order to achieve this effect, and it also seems to me that there are no other plugins (free) with the same functionality.
So my question though seems 'duplicate' is...
How do I log all this information into a.txt file?
OR..
How do I extract this information from phpMyAdmin to a.txt file?
Don’t you have an access log on the server? On Nginx servers these are usually on
/var/log/nginx/access.log
– Ricardo Moraleida