vip_substr_redirects

Wildcard redirects based on the beginning of the request path.

This is basically an alternative to vip_regex_redirects() for when you only need to redirect /foo/bar/* to somewhere else. Using regex to do this simple check would add lots of overhead.

Parameters

Name Type Description
$vip_redirects_array array Optional. Elements should be in the form of '/some-path/' => 'http://wordpress.com/new/'
$append_old_uri bool Optional. If true, the full path past the match will be added to the new URL. Defaults to false.

Return Value

void

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.