Issue [Solved] Social Media Redirect URI is incorrectly formatted
Our site resides on Amazon Cloudfront which is an AWS caching service. To work on our site we use our staging site which gets cached automatically by W3TC which is then pulled by Cloudfront and served worldwide. Because every page is cached it means minimum to no strain on the wp database for most operations etc.
However, in order to allow us to work alongside W3TC and AWS we have our staging url set in the wordpress Settings > General as http://content.psdcovers.com
The problem we are having with wpDiscuz is that it seems to hardcode the Wordpress globals for the site address into all requests.
We cannot modify the Settings > General > Site or Wordpress url settings without causing W3TC or AWS to fail. They must remain as-is.
So the question is the following:
Without modifying the wpDiscuz plugin directly, what is the most practical method or function that we can use/add to get wpDiscuz to append the correct site url to the redirect_uri variable? as stated above, we work from a staging server that automatically pushes cached content to www. We cannot modify our Settings > General to use anything other than content.psdcovers.com.
There is used the admin_url function to generate the redirect_uri. We cannot help you as we don't know how you've done the configurations.
Just note: we don't do hardcode. As a small tip: you can use the admin_url filter to change the redirect_uri if it's necessary.