Add this code in to wp-config.php just before – require_once ABSPATH . ‘wp-settings.php’; line
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on';
Related Posts:
- Broken css on mobile phones only on https
- SSL Breaks WordPress CSS
- Disable SSL / HTTPS for wordpress
- wp_enqueue_style – CSS Not loading – ERR_TOO_MANY_REDIRECTS [closed]
- WordPress address URL and bloginfo
- Redirect Css files to https
- Customize Bootstrap checkboxes
- Is there a CSS parent selector?
- How can I center an absolutely positioned element in a div?
- css transition opacity fade background
- Text-decoration: none not working
- CSS transition shorthand with multiple properties?
- How to center HTML5 Videos?
- Why is my Bootstrap code not working?
- Https to http redirect using htaccess
- What is the difference between visibility:hidden and display:none?
- Center a position:fixed element
- How to change the background colour’s opacity in CSS
- difference between css height : 100% vs height : auto
- How to make canvas responsive
- Forcing reload of editor-style.css
- How can I make the wordpress editor apply the selected template?
- How do I register/enqueue a custom CSS file?
- How do I remove specific styles from the parent theme css using the child theme css?
- How to combine multiple CSS files and concatenate JavaScripts if WordPress recommends enqueuing them?
- PageLines theme: how to change the background color of the main content vs. entire page?
- WordPress CSS head info – contents, expansions?
- How to add a body class to all interior pages except the homepage
- add a CSS id to the body of a page in wordpress
- Possible to include ACF text field within inline style tag?
- Is it possible to change the path of a css file that is registered through wp_enqueue_style()?
- wp_head function causes 30px blank space [closed]
- Broken urls with http site and https wp-admin
- Include print style sheet
- De-registering a CSS file leaves it in the queue
- WooCommerce change number of columns in the frontpage
- Adding HTML to the Header, Screws up in IE7
- Can’t login to Dashboard when changing site URL to HTTPS
- Efficient way to edit WordPress themes
- How to add an RSS logo to my blogs header?
- Where Do I Find The Astra Default Font Family That All Text Elements Are Inheriting From? [closed]
- Responsive Images Warping
- Remove margin from CSS gradient color code
- How can I use one stylesheet for multiple sub-sites on my multi-site network?
- Child theme stylesheet not always overriding “index”
- How do I apply/target CSS to a specific user role or roles?
- Why is this jquery / java script code not working in mobile / in devices?
- Seperate functions.php for part of site
- Any any insecure http:// URLs left in wordpress?
- How can I remove the ::after CSS selector which is automaticaly appended to the_content()?
- How to create an optionally available stylesheet for visually impared users?
- Image getting out of container [closed]
- Clients website shows blank page [closed]
- Using PHP Increment and Conditional Statement to Alternate Loop Background
- functions.php – inject inline css from file
- Changing navigation strip color with CSS
- How can I make css inline?
- Namespacing theme CSS
- Conditionally print css style in WordPress
- How to change the standard navigation menu color when using genesis [closed]
- WordPress is not displaying CSS file
- Change class names dynamically added to html elements by wordpress
- Add classes + taxonomy terms to wp_list_pages() output
- Chat window hiding behind Twenty Eleven header
- Css will not display in webpage, after adding it in style.css in child theme
- Hide Tab Titles from Tabs Block
- Hide product variations at home page
- WordPress footer always at the bottom of the screen-page
- TinyMCE on frontend style not working
- Understanding Redirects
- WordPress childtheme not loading any CSS/SCSS
- Why can’t blocks be hidden with jQuery?
- CSS: Appearance/Customise display different to actual display
- Bootstrap Integtration
- H2 On Blog/Article Page Gets Assigned a Class
- HTML not resizing
- Help locating old custom_css in PHP MyAdmin
- I would like to achieve a two column checkout page
- How to get homepage div container of wordpress website to display full width? [duplicate]
- CSS in child theme to replace !important in parent theme
- How would I add this code to a single WordPress page?
- WP theme update causes child theme CSS problems
- How to change menu hover color to white on my theme? [closed]
- adding a favicon to site2 – site1/site2/favicon.ico
- How to make CSS load live based on options clicked in the theme customizer?
- Which files can be replaced in a child theme?
- Inserting a DIV Block Into a Listing of Excerpts?
- How do i make a sidebar background color? [closed]
- How to remove audio player styles added by mediaelement.js JavaScript?
- Do you use css reset in your child theme [closed]
- CSS messes up when CACHE is cleared
- Twenty Fourteen Theme – Moving left sidebar to the right
- WordPress doesn’t respect “ver” parameter in styles [closed]
- why does WordPress custom css convert alpha to hex values?
- how to change the colour of this background
- Can I upload my HTML/CSS/Javascript game onto a WordPress page?
- How to add css to wp_head depending on the user role?
- Narrow paragraph block aligned to left of “wrapper”
- Customize margin between paragraphs using the Gutenberg Style editor
- How to remove automatically added custom style tag?