Querystring value being stripped from site_url()

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.

Why is a wordpress login session limited to one domain

While www and non-www versions of site are considered kind of same thing from user perspective, technically they are two completely different domains, possibly hosting completely different sites on different servers. Since cookies are domain-specific WP treats them accordingly. It’s not impossible to rework this, since cookie-related functions seem to mostly be pluggable, but really … Read more

Unable to load WordPress local site after changing WordPress Address (URL) and Site Address (URL)

I was able to add WordPress Address (URL) and Site Address (URL) manually and access the local site again. What I did was add following code segments to following files. wp-config.php define(‘WP_HOME’,’http://www.local.abc.com’); define(‘WP_SITEURL’,’http://www.local.abc.com’); Functions.php I have added following code just after opening of update_option(‘siteurl’, ‘http://www.local.abc.com’ ); update_option(‘home’, ‘http://www.local.abc.com’ ); After that I have refresh site … Read more