Hey Bdownall,
Could you share a little information about your server environment? Are you using a reverse proxy?
Thanks,
Gerroald
Thanks, Gerroald.
I don’t know what a reverse proxy is, but I don’t think so.
We are bluehost hosted, with a domain-wide SSL certificate installed. Sandbox is created by restoring/migrating from an UpdraftPlus Backup.
I deactivated BulletProof Security and installed iThemes Security because with BulletProof, I could not get WP-Filebase upload (“Add File” or “Update”) to work, and neither plugin’s support pages offered any assistance. (I love iThemes over BPS, for a much cleaner and easier interface, and clearer help text.)
I have also switched from unsupported WordPress HTTPS to CCS-HTTPS. Right now, I have to put the slug for every page I want to use SSL into the CCS-HTTPS settings. I would much rather disable CCS-HTTPS and use the iThemes “Per Content” checkboxes. It’s easier to use and to teach to authors.
What did I not tell you about that would be helpful?
This remains a problem, even when neither CCS-HTTPS nor WordPress HTTPS is involved at all.
I do a complete backup with UpdraftPlus of (example only) www.website.org.
I restore with migrate to sandbox.website.org.
If I uncheck the iThemes “enable SSL” setting on a page in the sandbox.website.org page editor, then navigate to the page and look at the page source, every link is correctly going to http://sandbox.website.org/<whatever>. If I then go back and check the same setting and navigate to the page, all of the links in the page source have been changed from http://sandbox.website.org/<whatever> to https://www.website.org, including pulling in the wrong copy of the theme css, and the page is loaded from the main site.
In restore/migrate, UpdraftPlus has always found all references to http://www.website.org and changed them to sandbox.website.org UpdraftPlus and Search and Replace plugin are both not finding that within iThemes security, and I cannot find a setting in iThemes after restore/migrate to redirect to the sandbox instead of the source website.
Hi Bdownall,
Possibly, in a search/replace tool (e.g. the one in the ‘expert/debugging’ tab in UpdraftPlus), it may help on your destination site to replace
https://www.website.org
with
https://sandbox.website.org
Or in any other search/replace tool (doesn’t have to be in UpdraftPlus).
It sounds like you’ve got links that don’t get automatically search/replaced on the migrate operation, and that need doing manually immediately afterwards. (What gets search/replaced can depend on how you’re accessing the site when you do the search/replace – whether you’re using SSL or not).
David