Could you try using admin_url
instead of site_url
you can call it the same way, but as you are trying to fetch some admin page I think that might be a better idea.
$search_url = admin_url( '/admin.php?page=my-plugin&action=search&searchstringSO=' . $_REQUEST["sigsearch"] );
Note that I removed the wp-admin
prefix from the path.
Related Posts:
- How to set ipv6 address as siteurl?
- Changing www prefix in General Settings and Interior Links
- What does $scheme in site_url function do?
- Concatenate site_url and string doesn’t work
- Get current url with parameters passed
- Override WordPress theme url
- How to Create a Staging Site / Changing URL
- get_template_directory_uri cached?
- WordPress site isn’t reachable after site & home URL modification
- wp_options siteurl and home hardcoded?
- Unable to load WordPress local site after changing WordPress Address (URL) and Site Address (URL)
- can’t access my site [closed]
- Dynamically update Site/WordPress Address
- Does WordPress Strip Away the WWW from a Web Address
- Why is a wordpress login session limited to one domain
- problem with guid, when i change the folder name
- I changed the url from the setting then login panel not working
- Unable to Update Post when Changing Site URL
- WordPress replaces “https://” with “//” for Site & WordPress-URL
- How to delete blog word from wordpress url?
- Updated Site URL but it is not reflecting the changes
- How to set a home page on a WordPress site?
- Changing siteurl breaks site
- How to add www to images?
- WordPress database nonsense error
- Keeping the URL but changing the site – How?
- change the URL title and tagline
- Is there a way to append a trailing slash to get_home_url() and get_permalink( get_option( ‘page_for_posts’ ) )?
- I changed the site address and wordpress address from localhost to my ip and it doesn’t work anymore
- Changed URL: refused to connect
- How can I get query string values in JavaScript?
- What is the difference between URL parameters and query strings?
- How to get GET (query string) variables in Express.js on Node.js?
- Node.js: Difference between req.query[] and req.params
- How to get URL parameter using jQuery or plain JavaScript?
- Get querystring from URL using jQuery [duplicate]
- Fastest way to implode an associative array with keys
- Get query string parameters url values with jQuery / Javascript (querystring)
- What’s the difference between home_url() and site_url()
- When moving a WP site, why does wp-admin redirect to old site?
- What is difference between get_bloginfo(‘url’) and get_site_url()?
- Switching MultiSite installation from HTTP to HTTPS
- Two (or more) parallel (sub-)TLDs that are retained when surfing the site / dynamically set the site address?
- use query string in URL to display content on the page
- Prevent “main” WPMU site_url() being returned in functions
- Switch from https back to http
- rewrite rules and querystring
- Getting the Site URL Including the Front Base
- How do I change the Multisite URL?
- Paginate Link generate additional #038; whenever my Url have multiple Query String
- Relative or dynamic site url possible?
- Rewrite default post type
- Querystring parameter getting lost in rewrite rule
- How to move existing WordPress wp-content folder along with database to new server and new domain name?
- order by second word in title?
- Difference between bloginfo(‘home’) and home_url() and site_url()
- Ban SiteNames Multisite
- Is it possible to add an admin page using add_submenu_page() and pass a var in the query string?
- Can ‘numberposts’ be passed in the URL query string?
- how to use a different domain/subdomain for authors/catagories on single site?
- Wrong canonical link on wp-admin pages
- How to remove /index.php/ from URL’s
- Run WordPress frontend and backend in different domains
- Site redirects to wrong url when saving settings
- How to remove “http://” When Echoing URL?
- How can I include a query string with get_permalink
- How to get a URL parameter from a URL with get_query_var?
- How to remove query string from static resources
- Dynamic URL to reference custom PHP files
- How to inject custom url path for page ?
- Changing Site Address (URL) causes 404
- Redirect to post after submission with Gravity Forms? [closed]
- Visually change theme via query string?
- Login to wp-admin “redirect_to” points to wrong URL after migration
- How can I Rewrite a ‘page’ URL based on query string parameters?
- Remove HTTP: from the site URL and just keep // in it
- Passing & Reading URL Parameters with URL re-writing
- Pass query string to page
- Prevent redirect to page/page when reserved term ‘name’ in $_POST when value is a page/post title
- Change homepage url
- (How) Can I change my Multisite Network to use a different blog as Primary?
- Login redirect_to loop with reauth=1, cookie expiry set to 1 year in past
- Can’t pass table to $wpdb->prepare
- get url page template
- How can I get the [video] shortcode to allow query string parameters?
- WP redirects all pages from new domain to old domain
- How to get rid of index.php?
- Woocommerce different URL for every table placed in the restaurant
- Sub-domain or 2nd, temporary different domain?
- How do I add a php statement to a jQuery string
- URL rewriting for WordPress Network (Multisite) subsite
- Do I need to use the esc_html() function on hard coded links?
- redirect 301 old url to new url
- Showing random content / pictures from earlier posts in a sticky post?
- query_vars Filter: Would You Ever Use It When $_GET is Available and You Don’t Need a ‘Pretty’ URL?
- Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?
- Changing WordPress blog name and web address
- Add custom URLs to WordPress’s XML sitemap
- How to get “extended” path info from URL in a plugin
- Query_posts $query_string