Redirect!

Hi Again !

I have a website https://srisaradaengineeering.ga I have changed the domain to https://srisaradaengg.in for better ranking !

Now I want to perform 301 redirect so that crawlers will index the new site !

Already the site srisaradaengineering.ga was indexed by google !

So, I went to the Change of the site tool and there comes the Error (See the Screenshot)

The code I added to perform the Redirect was

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

Is anything wrong in the code ? If not why is the error ?

Also, What is the Page Rule for Cloudflare to meet my requirements

Thanks in advance

I think what you are looking for is either a single 301 redirect, or a domain replacement redirect.

Try this line here:

RedirectMatch 301 ^/(.*)$ https://srisaradaengg.in/$1
1 Like

Hi @Greenreader9 ,

Edit - The Issue is Fixed !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.