help me

csasikhr

Newbie
Joined
Aug 27, 2024
Messages
6
Reaction score
0
1724757014533.png

help me
Why is it that when I want to validate my old website and move it to a new domain it's always like this, I've tried to find a solution but I can't find it and I've tried changing landings and still with the same result, when I want to validate it, I've installed the .htaccess script with the same goal
Please help
 
the screenshot is showing that google bot is not able to fetch both the hompepage and other page,
it looks like there's something wrong with the redirect, make sure you're redirecting the right version of the domain (www/!= & https/http),
and ofc both websites should be added to the GSC under the same account for this to work
 
the screenshot is showing that google bot is not able to fetch both the hompepage and other page,
it looks like there's something wrong with the redirect, make sure you're redirecting the right version of the domain (www/!= & https/http),
and ofc both websites should be added to the GSC under the same account for this to work
i have created a redirect like this

RewriteEngine on
RewriteCond %{HTTP_HOST} ^olddomain.com [NC,OR]
RewriteCond %{HTTP_HOST} ^http://www.olddomain.com [NC]
RewriteRule ^(.*)$ https://www.newdomain.com/$1 [L,R=301,NC]

and for both domains they are in the same GSC account

What else should I pay attention to with this problem?
 
i have created a redirect like this

RewriteEngine on
RewriteCond %{HTTP_HOST} ^olddomain.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.olddomain.com [NC]
RewriteRule ^(.*)$ https://www.newdomain.com/$1 [L,R=301,NC]

and for both domains they are in the same GSC account

What else should I pay attention to with this problem?
You're basically only redirecting http versions of the old domain,

Try this one:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC]
RewriteRule ^(.*)$ https://www.newdomain.com/$1 [L,R=301,NC]
 
It's a redirecting issue, You need to properly set up redirects for all URLs in the .htaccess file. It seems you’ve only configured it for the HTTP version of the old domain.
 
Double-check that your DNS settings are correctly pointing to the new domain. Sometimes propagation issues can cause delays in validation or access.
 
You're basically only redirecting http versions of the old domain,

Try this one:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC]
RewriteRule ^(.*)$ https://www.newdomain.com/$1 [L,R=301,NC]
OK, I'll try it and I'll tell you the latest update

you only redirecting http versions of the old domain
I will try the .htaccess code above and I will let you know as soon as possible with the update

It's a redirecting issue, You need to properly set up redirects for all URLs in the .htaccess file. It seems you’ve only configured it for the HTTP version of the old domain.
I will try the .htaccess code shared above
 
Double-check that your DNS settings are correctly pointing to the new domain. Sometimes propagation issues can cause delays in validation or access.
I don't use DNS for domain settings, I use name servers for pointing domains
 
You're basically only redirecting http versions of the old domain,

Try this one:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC]
RewriteRule ^(.*)$ https://www.newdomain.com/$1 [L,R=301,NC]
I have tried using the code you provided, but got the same result
 

Attachments

  • Screenshot_59.png
    Screenshot_59.png
    21.4 KB · Views: 1
Back
Top