I ran a GTmetrix test on my site (
example.com) and got a very low score (50) for "coockie free domains". I gather from this error that the webpage of each URL of my domain is served with cookie recording.
But, I don't want to record cookies for any of my users. I have no usage in these cookies and shouldn't have one in the horizon.
I read that a CDN can do it for me and prevent me of getting the error due to slow self-serving of webpages with cookie-recording, but I also don't desire to use a CDN to serve cookie free URLs for my domain.
Thus, I pasted this in the very end of
wp-config.php of my site, and saved:
define("WP_CONTENT_URL", "http://static.example.com"); define("COOKIE_DOMAIN", "example.com");
After pasting this, I've noticed it requires a subdomain from which to record cookies, but I don't want to use a subdomain at all.
How could I serve webpages without gathering any cookies, in my WordPress website, without using either a CDN or a subdomain. I just don't want to gather any cookies in that time.