I have provided htaccess on my old domain, aiming at the new domain now. but in GSC it still doesn't read my page, why is that? I have asked the hosting but their answer is that the 301 redirect that I did is correct
I use the following htaccess script
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC]
RewriteRule ^(.*)$ https://new.com/$1 [L,R=301,NC]
Please help, is there something wrong and where do you think it is?
I use the following htaccess script
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC]
RewriteRule ^(.*)$ https://new.com/$1 [L,R=301,NC]
Please help, is there something wrong and where do you think it is?