Step 1: Create/Edit a file .htaccess in the documbent root (public_html / www folder)
of your hosting account and put the code below inside .htaccess file :#----------------------------------------------------------
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^my-site.com [nc]
rewriterule ^(.*)$ https://www.my-site.com/$1 [r=301,nc]#----------------------------------------------------------
Step 2: replace domain name in code "my-site.com
" to your domain site's domain name.
Step 3: Save / upload file into your hosting server and you done !
After this your is site now add www. when someone open it without www format.
- Home
-
Store
- Browse All
- Linux Premium Web Hosting
- Shoutcast Internet Radio
- Shoutcast Internet Radio Reseller
- Linux Managed VPS
- Linux UnManaged VPS
- Cloud VPS SSD
- Server Management
- SSL Certificates
- Server Location India
- Server Location Netherlands
- ShoutCast Dedicated Servers
- Gaming dedicated server
- Flussonic Dedicated Servers
- RED5 DEDICATED SERVERS
- MANAGED DEDICATED SERVERS
- SHOUTCAST DEDICATED SERVER
- GPU Dedicated Servers
- Logo Design
- HOT DEALS
- Real Website Traffic | Keyword Targeted Visitors
- SEO Backlinks Pro
- Multi IP Dedicated Servers
- Azuracast Dedicated Server
- Website Development
- Offer.KM
- Register a New Domain
- Transfer Domains to Us
- Announcements
- Knowledgebase
- Network Status
- Affiliates
- Contact Us
-
More