Good afternoon, i am having a big trouble on solving this issue.
I want to access the php code and BEFORE the page is displayed, i want to get the $_GET parameter and access the Database to check the page_id for that parameter.
For instance: /wordpress?paramenter=sitename and in my DB i can relate that sitename to a page_id.
Is it possible? Pleaaase :)