Title: A site that uses http and https
Last modified: August 21, 2016

---

# A site that uses http and https

 *  Resolved [Stevish](https://wordpress.org/support/users/stevish/)
 * (@stevish)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/a-site-that-uses-http-and-https/)
 * Our site has a members area and a non-members area, and only the members area
   is protected by ssl. As a result, some links point to [https://oursite/page](https://oursite/page)
   while others point to [http://oursite/publicpage](http://oursite/publicpage).
 * The problem is that the duplicator only does a search/replace on the full url(
   [http://oldsite](http://oldsite) > [http://newsite](http://newsite)), and as 
   far as I can tell, there’s only one place to enter that.
 * Is there a way to get it to replace both http:// and [https://](https://wordpress.org/support/topic/a-site-that-uses-http-and-https/?output_format=md)?
 * I tried changing the setting to http(s)?://oldsite, but that didn’t work (not
   that I expected it to)
    I also tried removing the protocol to make it just “oldsite.
   com”, but that didn’t work either. It did something funky with the .htaccess 
   file.
 * Any ideas? Is there a way to run step 2 on the installer twice to do the http
   in one run, and the https in another?
 * We would love to get this program up and running since I, the programmer, am 
   leaving the department soon, and I like them having the option of upgrading to
   the paid version to get support if they need it.
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/a-site-that-uses-http-and-https/#post-4738560)
 * Hey Stevish,
 * Thanks for the feedback! If you can give the developer version a try I have updated
   the commit logic to better explain how to handle this scenario. The very latest
   version (0.5.3) can be found by following these instructions:
 *  -> Browse to [http://wordpress.org/extend/plugins/duplicator/developers/](http://wordpress.org/extend/plugins/duplicator/developers/)
   -
   > Look for the section “Other Versions” -> Click on “Development Version” and
   download the zip plugin file -> Uninstall your current version and install this
   one -> Note: This is a development line version so please test in your sandbox
   first to make sure you have no issues…
 * After creating a new package and installer with this version you will need to
   open the installer.php and search for ‘ADVANCED FEATURES’ around line 80. Look
   for a code sample with the variable
 * > $GLOBALS[‘REPLACE_LIST’]
 * Follow the instructions in this section and save your changes to the installer.
   php then run it as normal and you should be able to add as many search and replace
   strings as you need.
 * Let me know if this solves your issue…
 * Thanks
 *  Thread Starter [Stevish](https://wordpress.org/support/users/stevish/)
 * (@stevish)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/a-site-that-uses-http-and-https/#post-4738640)
 * It looks like that will do the job. The problem is that I’m leaving these instructions
   for people who, while they are technically inclined (one programs microchips 
   in assembly), they don’t know or have the time to learn much php. I was hoping
   there would be something on the front end that would accomplish this.
 * Do you know of a way I could modify one installer file so that they could keep
   reusing the same one? Even this wouldn’t be great, because we intend this program
   to help us go both from dev to production, and from production back to dev…
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/a-site-that-uses-http-and-https/#post-4738656)
 * Hey Stevish,
 * I understand… Getting that out is on the todo list, but it takes some time to
   integrate this into the UI portion… Since this is just a hobby project it may
   take some time before I can get to it, but I will add it to the todo list for
   sure…
 * Cheers~
 *  Thread Starter [Stevish](https://wordpress.org/support/users/stevish/)
 * (@stevish)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/a-site-that-uses-http-and-https/#post-4738657)
 * Thanks for the quick replies. I really appreciate your putting this on your list.
   This is such a great tool you have, and I know I’ll be able to use it in other
   contexts as I’m constantly setting up WP sites for folks.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/a-site-that-uses-http-and-https/#post-4738682)
 * No Problem Stevish!
 * Thanks for the feedback and 5 star rating!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘A site that uses http and https’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/a-site-that-uses-http-and-https/#post-4738682)
 * Status: resolved