Support Forum
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?
Hey rb22.
A lot of people use SSL with SP just fine, but I must admit it's not an area I have much experience in!
Have you checked Forum > Integration > Page and Permalink to make sure the permalink includes https? If not try resetting it.
Also check Forum > Components > Login and Registration to make sure they contain https.
Simple:Press supports the WordPress methods for using https an we let WordPress determine the scheme that is being used as we are just a WP plugin. I don't think that includes using the htaccess file..
YELLOW
SWORDFISH
|
Thanks Ike.
I think you solution would have worked too. In forums --> wp Integration permalinks, there is an update button and I suppose when you click it, sp gets the value from site_url value in the wp_options table.
I had previously updated that to https://.
when I click on update, it remains correct.
1 Guest(s)