ssl and get_settings(‘siteurl’)
-
I’m trying out Word Press and I have it installed on a SSL site (example: https://mysite.com/wordpress/instead of http://mysite.com/wordpress/). Installation went fine however in the admin-header.php it has the following to display the style sheet:
<link rel=”stylesheet” href=”<?php echo get_settings(‘siteurl’) ?>/wp-admin/wp-admin.css” type=”text/css” />
And it seems that <?php echo get_settings(‘siteurl’) ?> is outputting “http://mysite.com/wordpress” instead of “https://mysite.com/wordpress.” I had a look at wordpress/wp-includes/functions.php line 304 where it looks like the function get_settings is defined. However, I wasn’t sure what I could change to get it to display https intead of http.
Any help is greatly appreciated!
- The topic ‘ssl and get_settings(‘siteurl’)’ is closed to new replies.