Loading...

Simple Guide for How to add www prefix in Domain URLs

Simple Guide for How to add www prefix in Domain URLs

how to Add www in domain

 

Simple Guide for How to add www prefix in Domain URLs 

Step 1 : Create an .htaccess file

Step 2 : Add Code to .htaccess file and Update the file 

# Add www to any URLs that do not have them:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Step 3 : Add the .htaccess file in  public_html directory. If you already have an .htaccess file in the directory, Just Modify the File. After 5min you can check the URL.

 

Latest Posts

Quick Enquiry
Whatsapp
Call us
Message