Joy
(@joyously)
It looks like your script doesn’t match your site. One has www and the other does not, so it is treated as a Cross Origin Request (COR) which is not allowed for security reasons.
WordPress isn’t involved in that, so you have to go back to the supplier of the script.
Hi Joy
Thanks for that
I;m very confused though. I’m not technical at all.
So when you say “supplier of the script” I have no idea what that means.
I use Thrive Themes for landing page creation and NameCheap for hosting. Both whom have said they cant fix this.
So who would be the script supplier? Really don’t understand what that means at all
regards
Aslam
Joy
(@joyously)
I don’t know. I don’t know what Thrive Themes is, but if it’s a theme that does plugin functionality (like creating pages or generating form fields or changing the login page) then it’s not in the WP repository, so we don’t support it here.
If the theme/plugin is using AJAX correctly, they will be getting the URL from WP, and there will be no mismatch. WP has only one place to store the site URL, so it’s not a WP problem.
Aslam, the problem is that your site can be accessed with ‘www’ and without it. This can get very confusing as your problem is directly related to this.
First, you need decide if you want to use ‘www’ in your URL. I would say NO and so would many others. For that reason I will presume you also agree as it looks like WordPress is already setup that way.
Now you need to check in Admin -> Settings: General
Makes sure your WordPress Address (URL) and Site Address (URL) do not have ‘www’ before your Domain name, it would read:
Next you need to edit a file in your Hosting account. It is found in the ‘public_html’ dir. of your site and named ‘.htaccess’. In your Hosting Control Panel should be a link to File Mgr. — use that to find and open the file.
Copy & Paste the following at the very top of the .htaccess file.
#############################
## General Settings
Options +SymLinksIfOwnerMatch -FollowSymlinks -Indexes
RewriteEngine ON
# Define the default Character Set for Browsers
AddDefaultCharset utf-8
## if a URL is used with www then redirect to an https URL that does not use www
RewriteCond %{HTTP_HOST} ^www.the925millionaire.com/ [NC]
RewriteRule ^(.*)$ https://the925millionaire.com/$1 [R=301,L]
#############################
Contact your Hoster if you are not sure about how to use your Hosting Control Panel.
Finally, edit the ‘private-group-access’ page in WordPress to remove ‘www’ from any links in the page.