Absolute addresses in WP admin bar stopping page loading as http or https
-
Hi… on my site http://mariannefrylectures.co.uk I am trying to secure certain pages using the plugin WordPress HTTPS. This works OK provided the page content loads using relative addressing “/directory…” and not absolute addressing as “http://<address>/directory…”.
If I am logged on and the WP admin bar is being displayed, pages that should be secure are being forced to http.
Examining the browser console, I can see that the search button in the WP admin bar is displayed with the following code:
<li id="wp-admin-bar-search" class="admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form action="http://mariannefrylectures.co.uk/" method="get" id="adminbarsearch"><input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" /><label for="adminbar-search" class="screen-reader-text">Search</label><input type="submit" class="adminbar-button" value="Search"/></form></div> </li>The problem is, I believe, the absolute http: address for the form action, which prevents the page loading http or https as required.
If I log out so the admin bar is not displayed, this problem goes away.
I believe this is a WP issue, not a theme or plugin issue. Any advice, please?
NB At the time of writing there is another element on my site caused by my theme but that is not the issue I am addressing in this post.
The page I need help with: [log in to see the link]
The topic ‘Absolute addresses in WP admin bar stopping page loading as http or https’ is closed to new replies.