Title: how to exclude some pages from https
Last modified: August 20, 2016

---

# how to exclude some pages from https

 *  [Ruhul Amin](https://wordpress.org/support/users/ruhulamin/)
 * (@ruhulamin)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/how-to-exclude-some-pages-from-https/)
 * hi,
 * i have inserted FORCE_SSL_ADMIN in wp-config. everything working fine. is it 
   possible to exclude some admin pages from https.
 * thank you

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/how-to-exclude-some-pages-from-https/#post-2774838)
 * Short of a core hack, I’m not sure you can truly exclude admin pages, but you
   can remove the menu links that lead to them by hooking an action after the admin
   menus load and doing something along the line of `if ($_SERVER['HTTPS']) unset(
   $submenu[file.php][10][2]);`
    It would at least make access difficult, though
   not impossible. $menu and $submenu are global arrays containing the menu structure.
   You’ll have to `print_r($menu);` to figure out the correct keys to unset.
 * Unfortunately, this will not remove any links via page buttons and the like, 
   it only alters the menu bar structure on the left.

Viewing 1 replies (of 1 total)

The topic ‘how to exclude some pages from https’ is closed to new replies.

## Tags

 * [FORCE_SSL_ADMIN](https://wordpress.org/support/topic-tag/force_ssl_admin/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/how-to-exclude-some-pages-from-https/#post-2774838)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
