Viewing 1 replies (of 1 total)
  • Hi Nitin,
    Editing .htaccess can be tricky, so back it up first. ??

    Here’s an example that might help:

    RewriteCond %{HTTP_HOST} !^www\.nitin\.com$ [NC]
    RewriteRule ^(.*)$ https://www.nitin.com/$1 [R=301,L]

    Of course, you’ll want to change the “nitin” part to your site’s URL. The idea of that is to add the “www”, and the 301 tells search engines that it’s a permanent change.

    Test carefully, some servers may work differently.

    Good luck, Dave

Viewing 1 replies (of 1 total)
  • The topic ‘how to edit .htaccess for making url with www.’ is closed to new replies.