The described captive portal techniques cause client devices to display requested webpage for authorized device and modified content for unauthorized devices. One designated web page may be different than a requested web page such as when a client is not authorized to access the requested webpage and the requested webpage is not one of the walled garden websites. When the requested webpage is within walled garden website, the original content of the requested webpage is modified to include at least some original content. The captive portal may modify the designated web page to ensure that relative links lacking base domains now have specified base domains pointing to an authorized web server. Client web browser security measures related to redirection messages are thereby bypassed and load on the captive portal is minimal. The client device may also be prevented from caching the modified content of the requested web page.
展开▼