WordPress.org

Support

Support » Plugins and Hacks » Simple Real Estate Pack » [Plugin: Simple Real Estate Pack] Use SRP in WordPress Multisite

[Plugin: Simple Real Estate Pack] Use SRP in WordPress Multisite

  • Hello, I am not sure if anyone notice this or not. When you use this plugin with wordpress multisite enable + subdomain configuration and if you mapped your subdomain to the different domain, for example blog1.domain.com ==> http://www.anotherdomain.com, when you click the ‘View Result’ link, the loading may be hung there. The problem because in the srp.php, the SRP_URL use the PLUGIN_URL as default. The server may use the wordpress default domain’s PLUGIN_URL and redirecting the request to the blog1.domain.com if different from your mapping domain http://www.anotherdomain.com. You can replace SRP_URL with plugin_url() to fix the problem.

    http://wordpress.org/extend/plugins/simple-real-estate-pack-4/

Viewing 1 replies (of 1 total)
  • Plugin Author Max Chirkov

    @maxchirkov

    @sunreca – Hi there! I haven’t had a chance to test my plugin in the environment like yours. Although I’m using it on a regular MU setup without domain mapping and it seem to work just fine.

    I tried your solution and simply using plugins_url() function doesn’t work on my end, since it returns the root plugins folder. What works is this:

    define("SRP_URL", plugins_url(SRP_BASENAME));

    Can you test that for me in your environment and let me know if it works. If so, I’ll assume it’s work for everyone (since it work in a single site setup) and will commit to the next update.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Simple Real Estate Pack] Use SRP in WordPress Multisite’ is closed to new replies.
Skip to toolbar