Title: SSL and Admin
Last modified: August 31, 2016

---

# SSL and Admin

 *  [barkyourtail](https://wordpress.org/support/users/barkyourtail/)
 * (@barkyourtail)
 * [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/)
 * Hello, first time posting. Trying to run admin in SSL. I have forced it using
   config, changed URL to https:// , changed it on server , NGINX to default to 
   SSL for complete site.
    When it loads, I only get text links. No CSS or anything
   else. I can sign into admin on another server/site using same computer and network..
   all fine. I’m stumped, my host is stumped…What could possibly cause this. I get
   an ERR_connection_not authorized, err_net_connection..using lte / mobile network
   on a mac. No static IP. Any advice would help. My ISP wants to charge me 140$
   to tell me how to fix it. No antivirus, all https connections work fine. It’s
   just the admin on this install. It seem like my CSS files are being rejected 
   as wells as other files when trying to execute in https in admin only The site
   works fine in https…just admin issue. Thx

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

 *  [Clarion Technologies](https://wordpress.org/support/users/clarionwpdeveloper/)
 * (@clarionwpdeveloper)
 * [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/#post-7431539)
 * Hi,
 * Had you changed all the links from http to https in the database.
 * ” I have forced it using config” what did you did in the config file? Can you
   please explain?
 * Thanks
 *  Thread Starter [barkyourtail](https://wordpress.org/support/users/barkyourtail/)
 * (@barkyourtail)
 * [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/#post-7431602)
 * define(‘FORCE_SSL_ADMIN’, true);
    changed URL in settings to https:// server 
   setup run site in https://
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/#post-7431603)
 * You have to change URLs in the WordPress _database_; forcing https in wp-config.
   php or .htaccess or on the server does not change current URLs in the database.
   Use [interconnectit.com WordPress Serialized PHP Search Replace Tool](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/)
 *  Thread Starter [barkyourtail](https://wordpress.org/support/users/barkyourtail/)
 * (@barkyourtail)
 * [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/#post-7431604)
 * Wouldn’t the define(‘FORCE_SSL_ADMIN’, true); direct all to load in https://
   
   Changing the URL in setting to https:// should have done same. Was told perhaps
   MTU packets..Although works fine on my network connecting to other installs in
   https:// I have tried to connect on five computers, 3 networks…same blue text
   links in [https://…http://](https://…http://) works fine
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/#post-7431608)
 * > Wouldn’t the define(‘FORCE_SSL_ADMIN’, true); direct all to load in https://
   > Changing the URL in setting to https:// should have done same.
 * Absolutely not.
 * We’re talking about the _database_ and/or hardcoded links in theme files. I’ve
   dealt with this more times than I can remember.
 * 1) Use the developer tools in [Firefox](https://developer.mozilla.org/en-US/docs/Tools)(
   or [Firebug](http://getfirebug.com/)) or [Chrome](https://developers.chrome.com/devtools/)
   or [Safari](https://developer.apple.com/safari/tools/) or [IE](http://msdn.microsoft.com/en-us/library/ie/hh673541(v=vs.85).aspx)
   to see the errors with specific images.
 * 2) You may need to change URLs of media items in the post/page content to https.
   [Search RegEx](http://wordpress.org/extend/plugins/search-regex/) is a good plugin
   to be able to search and replace (optionally with grep) through all posts, pages,
   excerpts, comments, titles and meta. And, [interconnectit.com WordPress Serialized PHP Search Replace Tool](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/)
   can be used to find/replace in the entire database, i.e. metadata, GUIDs and 
   widget content, etc.
 * 3) You may need to change to a relative path for images in CSS files, i.e. `background-
   image: url(http://example.com/themes/wp-content/theme/images/image.jpg)` to `
   background-image: url(images/image.jpg)`
 * 4) You may need to remove the `http` from absolute paths in php theme files, 
   i.e. change `'http://example.com/image.jpg'` to `'//example.com/image.jpg'`; 
   that will allow your resources to default to https.
 *  Thread Starter [barkyourtail](https://wordpress.org/support/users/barkyourtail/)
 * (@barkyourtail)
 * [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/#post-7431609)
 * So Mark, by placing the https:// in front of the URL on any install should bring
   up all files in https and admin will work as normal. It’s ins’t necessary to 
   change database values. I have never done this before and it works on all others…
   
   If you are familiar with NGINX, that would help…I think it’s an internal issue.
   Thanks for posting.
 *  Thread Starter [barkyourtail](https://wordpress.org/support/users/barkyourtail/)
 * (@barkyourtail)
 * [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/#post-7431610)
 * re-write rules maybe…with NGINX..so I may need to manually change database. I’m
   really not liking that option.

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

The topic ‘SSL and Admin’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [barkyourtail](https://wordpress.org/support/users/barkyourtail/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/ssl-and-admin/#post-7431610)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
