subdomain switched to pass webpage name as parameter instead of as an action