adding www before domain.

#437252
  • Resolved Nipun Choudhary
    Rank Math free

    Hello,

    I am using “abc.com” structure for domain. But Now I am adding www before the domain. Now it will be like “www.abc.com”

    1. So do I need to create redirections for all the links of the website.

    2. Will I have to edit .htaccess file?

    3. Will it cause any issue?

    4. Will SEO rankings will drop?

    5. Will adding www before the domain name increase site speed?

    Thanks!

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

    Thank you for contacting Rank Math support today and bringing your concern to our attention.

    1. Yes, you need to redirect all non-www URLs to www URLs.

    2. Yes, you need to edit your .htaccess file as Rank Math doesn’t support domain redirection. You may refer to this .htaccess code:

    # 301 REDIRECT HTTP TO HTTPS AND NON-WWW TO WWW
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
    RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]
    </IfModule>

    3. & 4. As long as all the URLs are redirecting properly from non-www to www, it should not cause any issues including rankings.

    5. No, adding www doesn’t affect the current speed of your website.

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

    Thanks!

    Hello,

    I am happy it helped you. Do you have any other questions or do you want us to mark this as solved?

    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 ‘adding www before domain.’ is closed to new replies.