Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I’ve moved my website to use HTTPS using Digital Ocean and ServerPilot with Cerbot for the SSL, I’ve force HTTP:// to move to SSL and non-www to www. by using on the .htaccess file
RewriteCond %{HTTP:X-Forwarded-Proto} !=https
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP_HOST} =domain.com
RewriteRule (.*) https://www.domain.com/$1 [R=301,L]
The issue the old HTTP:// have still the statue code of 307 instead of 301.
Any suggestion to make sure HTTP:// URL return a 301?
Many thanks,
Jerome
220b5e1380f8416db566e9737f7170
newdoaccount
b1ce657f03b24202bfb1e84d954a18
Rashwan
Rashwan
rozerin.yildiz
bffe20e2d092407798209addeb821c
hanz
Ban Alexandru
Alif