Title: [Plugin: WordPress HTTPS (SSL)] Edit the Host
Last modified: August 20, 2016

---

# [Plugin: WordPress HTTPS (SSL)] Edit the Host

 *  Resolved [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/)
 * Hi! I accidently typed and saved the wrong host for ssl. This was a text input
   setting on the plugin. What file in the backend would I need to go to change 
   this? When I login to wordpress it tries to take me to the domain name host that
   I input. I uninstalled the plugin to keep the site live.
 * Thanks!
 * Adam B
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/page/2/?output_format=md)

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926306)
 * [FAQ](http://wordpress.org/extend/plugins/wordpress-https/faq/)
 * Edit: To clarify, **I can’t get into my admin panel after updating. How do I 
   fix it?**
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926316)
 * Okay thank yoU! I wasn’t sure if that was the necessary step. Thank you for clarifying!
 * Just out of random chance, have you ever heard of issues of wp-admin ajax not
   reading https? I use jigoshop ecommerce, and checkout won’t work, it keeps loading.
   I did consol debug and theres a red line regarding wp-admin ajax. Ever by a chance
   heard of an issues of this sort?
 * Thanks!
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926321)
 * Give the [development version](http://downloads.wordpress.org/plugin/wordpress-https.zip)
   a try and let me know if the issue persists.
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926326)
 * This looks interesting. You’ve added a lot more! I’ll take a look now and figure
   it out!
    I’ll let you know asap.
 * Thanks for your support
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926328)
 * Also, not sure if there’s any association, but I’m using cloudflare with their
   ssl. Not sure if you are familiar with it. (just an fyi)
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926330)
 * Cool. I added a check for CloudFlare SSL in the development version.
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926332)
 * In the dev link you sent me? or are you still developing more?
    I don’t see it
   in the dev you sent me which just installed… or I’m dumb which is very probable.
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926340)
 * Also, for the HTTPS wordpress plugin you built, is it to ensure that all links
   are to use https? Here’s a [screenshot ](http://www.evernote.com/shard/s106/sh/39e2e20d-c5a9-49b4-895d-bcd1631032e6/b2e8eab2464e83167a95104bc8acdd99)
   of an issue i’m finding.
 * I notice wpadmin-ajax is referring to http instead of https… I’m just shooting
   blindly, but any ideas?
 * (not sure if this error may help with your development at all)
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926355)
 * Well you’re not going to _see_ anything unless you dig in the code.
 * If you have a problem, the plugin should fix it. Period. There are some things
   that can’t be fixed. This may or may not be one of them. Errors like this can
   only be taken on a site-by-site basis. There are too many factors that can cause
   issues to say exactly what’s going on without looking at it myself. I can look
   at if you’d like, I just need an admin account. My email is mike[at]mvied[dot]
   com.
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926356)
 * I think I see the error… it’s just the need on having to find where the file 
   is. My assumption is, a function is calling a [http://domain.com/wp-admin/admin-ajax.php](http://domain.com/wp-admin/admin-ajax.php)
   It’s calling http not https.. thats a guess. Thanks for your help! I’ll keep 
   trying to search.
 * The plugin you’ve got is awesome though! Thanks for developing it!
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926357)
 * I’ve already looked at the plugin and it is SSL aware, so I don’t know if digging
   in their code is going to lead you anywhere.
 * Edit: Nevermind, I see the issue. They’re using `str_replace` on the result of`
   admin_url`, overriding anything my plugin would have done to secure the url.
 * Jigoshop v1.2.3, jigoshop.php, Line 330
 *     ```
       (!is_ssl()) ? str_replace('https', 'http', admin_url('admin-ajax.php')) : admin_url('admin-ajax.php')
       ```
   
 * Since you’re using CloudFlare, WordPress’ built-in `is_ssl()` method returns 
   false. If you change that call to `$wordpress_https->isSsl()` it should fix it.
   Also, removing that `str_replace` call would fix it.
 * A more permanent solution would be to add this to your wp-config.php to trick
   WordPress.
 *     ```
       if ( isset($_SERVER['HTTP_CF_VISITOR']) && strpos($_SERVER['HTTP_CF_VISITOR'], 'https') ) {
       	$_SERVER['HTTPS'] = 'on';
       }
       ```
   
 * This is just a theory. Let me know.
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926361)
 * I’ve clicked :
 * Force SSL Login
 * Always use HTTPS when logging in.
    Force SSL Administration
 * Always use HTTPS while in the admin panel.
 * On the dashboard of your plugin, then the wp-admin/admin-ajax.php says 301 moved
   permanently. There has to be an association with ajax not reffering to https 
   rather it’s referring to http. Still on the search…
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926362)
 * Sorry, just saw your post
 * > Edit: Nevermind, I see the issue. They’re using str_replace on the result of
   > admin_url, overriding anything my plugin would have done to secure the url.
 * Jigoshop v1.2.3, jigoshop.php, Line 330
    (!is_ssl()) ? str_replace(‘https’, ‘
   http’, admin_url(‘admin-ajax.php’)) : admin_url(‘admin-ajax.php’) Since you’re
   using CloudFlare, WordPress’ built-in is_ssl() method returns false. If you change
   that call to $wordpress_https->isSsl() it should fix it. Also, removing that 
   str_replace call would fix it.
 * A more permanent solution would be to add this to your wp-config.php to trick
   WordPress.
    if ( isset($_SERVER[‘HTTP_CF_VISITOR’]) && strpos($_SERVER[‘HTTP_CF_VISITOR’],‘
   https’) ) { $_SERVER[‘HTTPS’] = ‘on’; } This is just a theory. Let me know.
 * I’ll take a look! Thanks so much for your help. Seriously helping the troubled
   feeling
 *  Thread Starter [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * (@renderinnovations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926365)
 * Getting close!
 * Here is result on the checkout page. ( [https://www.predatorproducts.com/shop](https://www.predatorproducts.com/shop))…
   The error is on the checkout page when you’re updating your shop items.
    How 
   did you figure that problem out by the way?
 * >  Warning: require_once(/home/predator/public_html/https://predatorproducts.
   > com/wp-admin/includes/ajax-actions.php) [function.require-once]: failed to 
   > open stream: No such file or directory in /home/predator/public_html/wp-admin/
   > admin-ajax.php on line 30
   > Fatal error: require_once() [function.require]: Failed opening required ‘/home/
   > predator/public_html/https://predatorproducts.com/wp-admin/includes/ajax-actions.
   > php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/predator/public_html/
   > wp-admin/admin-ajax.php on line 30
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/#post-2926368)
 * You didn’t tell me what you’ve changed and what has been fixed or not.
 * Oh, to answer your question: experience. I’ve dealt with this before.

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/page/2/?output_format=md)

The topic ‘[Plugin: WordPress HTTPS (SSL)] Edit the Host’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 30 replies
 * 2 participants
 * Last reply from: [renderinnovations](https://wordpress.org/support/users/renderinnovations/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-edit-the-host/page/2/#post-2926384)
 * Status: resolved