Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Local php redirect after successful login

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 2.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      salah
      last edited by

      Dear users

      hi all, can i force pfsense to redirect to the local page (http//pfsense-ip/local_page.php) after successful captive portal login ?!
      for example the page viewing success login .

      i want do that cause i have slow internet connection for fast url redirect then the users worried about success login :-\

      thanx

      1 Reply Last reply
      Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi.

        Make your "local_page.php" file.
        Upload it using the "File Manger", most right tab on the Captive Portal settings page.

        On the Captive Portal settings page, find "After authentication Redirection URL" fill in this:
        captiveportal-local_page.php

        No "help me" PM's please. Use the forum, the community will thank you.

        1 Reply Last reply
        Reply Quote 0
        • S
          salah
          last edited by

          thank you Gertjan for your reply, user is connected to the internet after i tested your advice but a error page is appears after logging in :(
          anyway i tried another method by created a new page only contain a green right mark logo with done below then uploaded as (Logout page contents) and activated (Enable logout popup window) feature, it is working properly as i want .

          thank you again

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy