WebSite X5Help Center

 
Mark B.
Mark B.
User

Website X5 pro latest version. issue with contact page and sending emails.  en

Autor: Mark B.
Visited 540, Followers 1, Udostępniony 0  

I have website x5 pro. Latest version to this date posting. I have created a contact page and have added the necessary files. But the contacts page does not send the details entered as an email to a email address on the hosting server. It is not there end on the server as there is no error. I can send an email directly to the email address, but I cannot send it through the boxes on a contact page. Help please. Thanks.

Posted on the
1 ODPOWIEDZI
Franz-Josef H.
Franz-Josef H.
Moderator

It could be that in step '5 Export' on the page 'Export the website to the Internet', the 'URL of the website' field contains the wrong entry http://yourdomain.com This is wrong and can lead to problems as a result. You have to enter https://yourdomain.com in the field and then click on the preview button while holding down the Ctrl key so that the project is completely rebuilt. Then upload the entire website, not just the changes.

You should also make sure that your website is always redirected to the secure https site. If there is no way on your web host to force the redirection to the https page, you have to create a .htaccess file yourself. To do this, use the Windows editor to create a file with the following content:

RewriteEngine On

RewriteCond% {HTTPS}! = On

RewriteRule ^ https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]

These save, for example, as htaccess.txt. Then rename it to .htaccess (yes, the point must be at the front) and load it into your server directory (where you also upload your homepage). This means that every call to your site is automatically directed to the https site.

Czytaj więcej
Posted on the from Franz-Josef H.