google search console

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for getting in touch with us and for the positive feedback, we do appreciate.

    You should only verify one version of your site, the version your site is currently accessible at then redirect all other versions of your site to your main domain version.

    To redirect all requests to non-www, add the following lines at the beginning of your website’s .htaccess file:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
    RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301]
    

    To redirect all requests to WWW version of your site, use the following:

    
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
    

    Replace yourdomain.com with your actual domain name.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you very much. I was a little confused because I got an email from google to add all the version of my domain and to check them out. All redirection can be done in cpanel or they must be done in .htaccess?

    Hello,

    We usually recommend adding them to your .htaccess file. It is easy to implement and make any changes if need be. Just head over to Rank math > General Settings > htaccess

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘google search console’ is closed to new replies.