You can do something like
$path = $_SERVER['REQUEST_URI'];
if (home_url($path) == 'http://www.myweb.com/action/frame' ) {
header('Location: ' . 'http://www.myweb.com/wp-content/plugins/myplugin/frame.php');
}
Related Posts:
- How to prevent automatic redirection of 404 errors and “incorrect” URLs?
- Disable WordPress URL auto complete
- Redirect user to original url after login?
- Disable ONLY URL auto complete, not the whole canonical URL system
- User redirect to destination URL after login
- Redirecting WordPress /.htaccess / HSTS / SSL
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- How to setup 301 redirects for multiple query string URLs?
- Stop unwanted WP redirection to new url
- How does WordPress redirect to WooCommerce shop page? [closed]
- WP redirects all pages from new domain to old domain
- Does WordPress automatically redirect url without parent slug?
- How to redirect visitor to a custom URL using PHP code in functions.php
- Redirect home to another page with htaccess
- Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?
- How to redirect URL with subfolder to the same URL but without subfolder?
- How to redirect a page into file?
- How to redirect after login getting a variable from url (for example with the language)
- How can I replace my primary url globally with a parked one?
- URL redirect problem
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- How to redirect to clean links with this code
- reducing number of URL Redirects and increasing speed
- URL masking of subdomain to main domain using .htaccess
- Disable WordPress URL auto complete
- Redirect user to original url after login?
- Redirect non existing page to frontpage
- store URL global before we redirect
- WP_List_table with form of method=GET redirects to wrong url after submit
- Redirect old URL (with different post ID) to new URL
- How to fix automatic redirects?
- My redirect URL doesn’t show any pages on my website [closed]
- Preventing Canonical Redirect for CDN
- URL redirection
- URL redirect regular expressions redirecting all after first viriable
- Disable WordPress URL auto Redirect
- How to get user details by name
- Redirect only PDFs in different folders?
- How to disable WordPress URL autocomplete / recognition?
- using wp_rewrite but keep the original url in the address bar
- I’ve move my site but URL still goes to the old site
- Redirect based on $_GET parameters
- International characters in slugs to redirect to
- Rewrite rule for incoming urls
- How to handle expired assets/content when user has direct URL
- How to change Ugly link?
- Redirect ignore last URL segment
- How do I skip wordpress’s 404 handling and redirect all 404 errors for static files to 404.html?
- WordPress redirecting connections on port 8080 to 80
- Redirect to referring page after logging in
- Redirect www to non-www htaccess
- Using redirection plugin to pass URLs as lowercase to wordpress
- Redirect to login page
- base directories / URL
- Query WP data with the WPDB API from outside WordPress
- Get the final destination after WP_Http redirects (WordPress)
- Too many redirects when using wp super cache [closed]
- How does WordPress redirect without using .htaccess?
- How to redirect from various ?page_id= to home page?
- header and wp_redirect not working. cannot modify header information warning
- Code to create a redirection after login?
- Headless WordPress redirect front-page to login page [closed]
- Redirect after password update
- How to use Regex to add to a url?
- htaccess redirect invoice.php to /client/invoice.php
- redirect wp-admin/install.php
- How to properly encode url with parameters for redirect_to
- How to disable redirect on pagination first page
- Redirect user to a form until they have filled it out [closed]
- Buddyboss Platform plugin causing “too many redirects”
- Redirections and rewrites to subdomain
- Redirect user to previous page after signup from custom form
- How To Fix 404 errors caused by Google Indexing WordPress In Subdirectory
- Unable to access folders in same level as wordpress installation
- Get query parameters from external url and make a redirection
- Why does specifying ‘about-us’ as a link target take longer than specifying ‘about-us/’?
- Internal Links that Automatically Update
- Usage of the login_redirect filter
- Show different page for first time user
- Redirecting to new URL structure and 301
- Blog has an infinite redirect loop
- WP forwarding to wrong site address
- Can’t make redirect in WordPress
- How to point a public URL to internal (hidden) server with all links following.
- Redirect posts to new domain
- How do I redirect the browser to 404 page, if no posts are found in home page
- Redirect after the registration
- Conditional Login Redirect
- How to redirect if 404 error in wordpress then redirect 404.php url
- 301 Redirects from old WordPress domain
- Unexpected: WordPress redirects to the WP_HOME/WP_SITEURL value
- Automatically switch language based on visitor’s country
- Do redirect 301 for wordpress page
- One set of Child Pages redirecting to Home page?
- Redirect old .html URLs to a new installation in a subfolder
- Blog posts redirecting to random 404 pages
- WordPress 302 Redirect to Holding Page
- Converted posts to a CPT, 301 redirects necessary?
- Best SEO way to redirect from all “posts” to home url
- Redirect certain 404 pages to parent page