Hello , for google redirect you can use only 301 method , you can use htaccess file to redirect or maybe you can use configuration on your ngnix if you are using ngnix , for sometime the htaccess not working fine you need to reload the configuration , but you can use this code :
creat file...