Hi,
I have my B4J server running a web server.
I have followed the tutorial:
https://www.b4x.com/android/forum/threads/server-building-web-servers-with-b4j.37172/#content
I have also enabled a SSL certificate on it and working fine.
If the customer opens the website like https://mysite.com it loads the site fine. If they open http://mysite.com it converts to https://mysite.com and this is also working fine.
So the above works fine.
However, if they open www.mysite.com it comes up saying the site is not secure..
Is there a way in making it if the user type www.mysite.com to redirect it to https://mysite.com (so it removes www. part) ?
I have my B4J server running a web server.
I have followed the tutorial:
https://www.b4x.com/android/forum/threads/server-building-web-servers-with-b4j.37172/#content
I have also enabled a SSL certificate on it and working fine.
If the customer opens the website like https://mysite.com it loads the site fine. If they open http://mysite.com it converts to https://mysite.com and this is also working fine.
So the above works fine.
However, if they open www.mysite.com it comes up saying the site is not secure..
Is there a way in making it if the user type www.mysite.com to redirect it to https://mysite.com (so it removes www. part) ?