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
- What is the difference between URL parameters and query strings?
- 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()?
- Wrong canonical link on wp-admin pages
- How to remove /index.php/ from URL’s
- How to remove “http://” When Echoing URL?
- Dynamic URL to reference custom PHP files
- Changing Site Address (URL) causes 404
- Redirect to post after submission with Gravity Forms? [closed]
- 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?
- Add custom URLs to WordPress’s XML sitemap
- How to get “extended” path info from URL in a plugin
- Wp Login redirect strips parameters from url
- Query string becomes encoded when a static page is used as homepage
- What is the purpose of storing `siteurl` in database?
- Customize multisite site creation with user data
- How to order results by date and meta key?
- Remove Query String from URL on Redirect – Redirection Plugin
- Change gravity forms confirmation redirect query string to include entry id [closed]
- Changing my site url from azure.net to custom domain
- How to retrieve TLD domain for the current website?
- How to remove query string from static resource in WordPress?
- Wrong wp-admin URL
- urlencode query string in gravity forms confirmation redirect
- get_posts – find out if querystring was crap and fallback is used
- Keep query string in url after executing a serch
- How to get “string” away – replaced with “nothing” [closed]
- How to rewrite url wordpress?
- WordPress rewrite multisite blog url
- A URL that links specifically to the mobile version of my site?
- How can I remove the folder from a Multisite URL?
- blog url redirecting
- how to access query string in wordpress?
- Changing the website URL to the root folder
- Changing the color scheme based on the url visited
- How to grab query string from wp-content/uploads/.*
- How to return site_url() without https://
- Showing my server ip in source code for several links not for all links
- How to Use Custom Meta Field Instead of CPT Title in Post URL
- Replace “http://localhost:8888/” by website URL in WordPress
- How to Include Fields in Query String When Making Request of WordPress.org Plugin API?
- dynamic site link for future migration in echo do_shortcode()
- Page inside custom post type (url rewrite?)
- How would I get WordPress to parse /mypage/area/value as /mypage/?area=value?
- WP adds long version query strings to CSS and JS files
- Proper way to have multiple installs with a single database
- Plugin Development – Get Admin Url (Including cases where wp-admin is not used)
- Add rewrite rule to make Woocommerce product category page seo friendly
- How to make a seo friendly URL of 2 different pages with same words
- How to access wordpress from domainB which is installed at domainA
- Is bloginfo(‘template_directory’) generated based on WP_SITEURL and WP_HOME in the settings?
- Use “name” query string to refer to form field instead of pagename
- Display plugin-generated content to override a placeholder page
- Custom query vars empty
- How to properly give WordPress its own directory
- My permalinks for all pages and posts now include old page titles as parents/categories
- WordPress switch domains
- Remove index.php from URL (WP installed in subdirectory)
- Homepage cannot be found
- All styles are looking for the site URL twice
- Blog switch wpml string translation (multi-site)
- Hide some shortcodes on posts from back-end
- Blog broken after changing Site/Home URL
- Giving WordPress it’s own directory and using .htaccess Directory Index
- Changing the site URL
- WordPress site seems convinced that it’s still at its old URL
- How to display search query as formatted text?
- append $_GET parameters to post
- Redirect all URLs in WordPress and Permalink to by country to subdomain