Is there a way in order to determine that a page is accessed by simply copy pasting the url or just typed it in the address bar?
Is it possible to use $_SERVER['HTTP_REFERER']?
Is there a way in order to determine that a page is accessed by
Share
Since that’s the only common indicator that your link was clicked (or not) from another page, that is probably your best bet depending on why you care (especially if traffic may be coming from external sites), but it’s not 100% accurate.
Some browser add-ons, security settings, antivirus tools, proxy servers and firewalls will not pass this variable.
Also, search bots and other non-browser means of accessing your site will usually not pass in a HTTP_REFERER heading.
Most browsers will strip this if they linked to your page from a secure page (i.e. http link in an https page)
Finally, this is an easy property to fake. Browser add-ons and other tools (e.g. cUrl) allow you to set this to whatever you want.