F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Stephen_Yip_879's avatar
Stephen_Yip_879
Icon for Nimbostratus rankNimbostratus
Oct 31, 2014

Can you redirect a URL to another URL with the same root address?

Is this type of redirection possible?

 

Original URL

 

jobs.workplace.com/job_posting/new

 

New URL

 

jobs.workplace.com/new_job_posting/location/new

 

1 Reply

  • R_Eastman_13667's avatar
    R_Eastman_13667
    Historic F5 Account

    Yes you can!

    when HTTP_REQUEST {
        if {[HTTP::uri] eq "/job_posting/new"} {
            HTTP::redirect "http://jobsworkplace.com/new_job_posting/location/new"
        }
    }