• Good Day

    I’ve been struggling with a problem for a while now on my landing pages.

    I’m using Thrive Themes to create the pages.

    Some users who land on the capture page get an error after filling in their details. Some users are able to move past the page after filling in their details.

    The error just says…”An error occurred”

    I have approached Thrive Themes and the hosting provider NameCheap. But neither one can help me. They said to contact WordPress

    The Thrive Themes consultant was able to replicate the error and just replied with this…https://share.getcloudapp.com/NQuD7gq9 and told me to contact the hosting provider. The hosting provider then said they cannot fix it

    So i’m now left with WordPress.

    Could someone please assist in diagnosing the issue and some advice on how to fix it

    regards

    Aslam

    • This topic was modified 4 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Thread Starter aslamdt

    (@aslamdt)

    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

    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.

    • This reply was modified 4 years, 3 months ago by Jan Dembowski.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Constant Landing Page Errors’ is closed to new replies.