Forum Moderators: coopster
|| $_SERVER["REQUEST_URI"] != '/index.php'
what happens if you add ... parameters to home page (such as gclid or utm_something)?
^/index\.php(\?\S+)?$ 1. Can you post spurios parameter to index.php to check possibility?
2. gclid or utm_something is usually managed by landing page. Serious web marketing manager will never redirect (gclid) to homepage location.
$_SERVER["REQUEST_URI"] == "" preg_match("^/(index\.php(\?\S+)?)?$", $_SERVER["REQUEST_URI"])