• 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&#8221; instead of “https://mysite.com/wordpress.&#8221; 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter epicserve

    (@epicserve)

    Fixed it myself. Found that in the wordpress database there is a table called wp-options which had a entry for siteurl. Just change it to https in the database and it works fine now.

    Not sure what version you were using, but in the latest one 2.0.4 you can control this in the admin panel. Under “Options” -> “General” you are looking for the “WordPress address (URI)” and “Blog address (URI)” fields.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ssl and get_settings(‘siteurl’)’ is closed to new replies.