Title: Support for HTTPS of Admin Page
Last modified: August 18, 2016

---

# Support for HTTPS of Admin Page

 *  [hilary](https://wordpress.org/support/users/hilary/)
 * (@hilary)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/support-for-https-of-admin-page/)
 * I am using WordPress. I will configurate the Apache to Redirect Admin Page to
   https server. But when I will using the adminstration function. check_admin_referer
   will reject my request. I have hack the function for checking https URL.
 * function check_admin_referer() {
    $adminurl = strtolower( get_settings(‘siteurl’)).‘/
   wp-admin’; $referer = strtolower( $_SERVER[‘HTTP_REFERER’] ); /* Checking HTTPS*/
   if (strstr($referer, “[https://&#8221](https://&#8221);)) $referer = “[http://&#8221](http://&#8221);.
   substr($referer, 8); /* Checking HTTPS */ if ( !strstr($referer, $adminurl) )
   die(__(‘Sorry, you need to [enable sending referrers](http://codex.wordpress.org/Enable_Sending_Referrers)
   for this feature to work.’)); do_action(‘check_admin_referer’); }

Viewing 1 replies (of 1 total)

 *  [skippy](https://wordpress.org/support/users/skippy/)
 * (@skippy)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/support-for-https-of-admin-page/#post-248860)
 * Consider adding this to [trac.wordpress.org](http://trac.wordpress.org/): better
   https support is something I’ve been advocating for some time.

Viewing 1 replies (of 1 total)

The topic ‘Support for HTTPS of Admin Page’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [skippy](https://wordpress.org/support/users/skippy/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/support-for-https-of-admin-page/#post-248860)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
