Hi I have a problem. I recently changed my .htaccess file to ensure that the site is always using https:// (sll)
Basically every hit to the server is redirect to https:// if it’s not already https://
that works fine and the forum generally works OK but when I click a button such as edit a user topic post, I get this message from firefox:
=====
The information you have entered on this page will be sent over an insecure connection and could be read by a third party.
Are you sure you want to send this information?
=====
If I accept, the forum redirects to the https:// url (probably thanx to the .htaccess) but it doesn’t redirect to an edit screen. It just goes back to the page on which the button was clicked.
…
The problem is that the url being built and put into the rendered forum page is http:// instead of https://
the function sp_build_url seems to relevant but I don’t see where the http or https protocol is set.
./forum/content/forms/sp-form-post-edit.php
./sp-api/sp-api-permalinks.php
This is the relvevant markup where the button is clicked.
<form class=”spButtonForm” action=”http://link-to-post/forum/21900″ method=”post” name=”usereditpost21900″>
<input name=”postedit” value=”21900″ type=”hidden”>
<a class=”spButton spRight” id=”spPostIndexEdit21900″ title=”Edit this post” rel=”nofollow” href=”javascript:document.usereditpost21900.submit();”><img class=”spIcon” src=”https://versatilephd.com/wp-content/sp-resources/forum-themes/css-only/images/sp_EditPost.png” alt=””>
Edit</a>
</form>
….
Do you have an tips on how I can fix this?