This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 5 months ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search results open non https pages
This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 5 months ago.
When I do a search on the website, any result I click brings me to an http URL instead of an HTTPS, how can I fix this?
I was able to fix it for now by using a plugin: https://wordpress.org/plugins/https-redirection/ But it would be nice if I didn’t need it.
Hi,
The plugin requests the result URLs from WordPress core itself with the get_permalink(..) function. If the protocol is not correct, there is a good chance that either within the wp-config.php or within the database the site URL is not set correctly – it especially applies for cases where the site was transitioned from http to https. I recommend checking the site URLs in both wp-config.php and on the back-end as well to make sure it’s indeed set correctly. The plugin does not affect these values, it serves the urls as returned from the WordPress core.
Alternatively this custom code can be used to make a correction if nothing helps at all:
Let me know!
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |