Reply To: All Website links being converted to HTTPS

Home Forums Store Locator Plus All Website links being converted to HTTPS Reply To: All Website links being converted to HTTPS

#41516

Lance Cleveland
Keymaster

If it helps, I noticed a few things when analyzing this url:

Retail Locator

1) Your location data does NOT specify the protocol.

For example: http://www.ourhandmademarket.com is the URL for Our Handmade Market.

If you enter http://www.ourhandmademarket.com in the URL field it should prevent mangling of the URL.

2) The SLP location processor uses the WordPress esc_url() function to get a proper web link from that URL field.

The function will NORMALLY always prepend http:// as the protocol. You can see the function reference and source here:

esc_url()

However any plugin/theme can change this a number of ways, the most common being via the ‘clean_url’ filter built into WordPress.

I am guessing that you have a plugin or theme component that is using clean_url to improperly apply the https:// protocol any time something on your site uses the esc_url() WordPress function.

Let us know if you need more assistance regarding this matter. Hopefully the above info will give you the insight you need to get this resolved.