If you want to ensure that your website always loads with https://www (forcing both HTTPS and www), you can achieve this by adding the following rules to your .htaccess file.
📌 Steps to Implement
Locate your .htaccess file in the root directory of your website.
Open it using a text editor or cPanel’s File Manager.
Add the following code to enforce HTTPS and www redirection:
🔹 .htaccess Code
RewriteEngine On
# Force HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
# Force www
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
🔍 Explanation
Forcing HTTPS:
If the request is not secure (HTTPS off), it redirects users to the HTTPS version.
Forcing www:
If someone tries to access your site without www (e.g., https://example.com), it redirects them to https://www.example.com.
⚠️ Important Notes
Replace example.com with your actual domain name.
This method ensures all visitors land on https://www.example.com consistently.
The [R=301,L] flag ensures a 301 permanent redirect, which is SEO-friendly.
🚀 Final Thoughts
By applying this .htaccess rule, you improve security (forcing HTTPS) and maintain a consistent domain structure (using www). This is especially useful for SEO and user experience.
Let me know in the comments if you have any questions! 😊
Wayona Nylon Braided USB to Lightning Fast Charging and Data Sync Cable Compatible for iPhone 14,13, 12,11,X, 8, 7, 6, 5, iPad Air, Pro, Mini (3 FT Pack of 1, Grey)
₹379.00 (as of February 10, 2025 16:59 GMT +05:30 – More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)
Ambrane Unbreakable 60W Fast Charging 1.5M Braided Type C to Type C Cable for Smartphones, Tablets, Laptops & Other Type C Devices, PD Technology, 480Mbps Data Sync (RCTT15, Black)
₹179.00 (as of February 10, 2025 16:59 GMT +05:30 – More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)
STRIFF Adjustable Laptop Tabletop Stand Patented Riser Ventilated Portable Foldable Compatible with MacBook Notebook Tablet Tray Desk Table Book with Free Phone Stand (Black)
₹249.00 (as of February 10, 2025 16:59 GMT +05:30 – More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)
boAt Type C A325/A320 Tangle-free, Sturdy Type C Cable with 3A Rapid Charging & 480 Mbps Data Transmission Speed, Compatible with Smartphones & Tablets(Black)
₹99.00 (as of February 10, 2025 16:59 GMT +05:30 – More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)
Dell KM3322W Wireless USB Keyboard and Mouse Combo, Anti-Fade & Spill-Resistant Keys, up to 36 Month Battery Life, 3Y Advance Exchange Warranty – Black
₹1,399.00 (as of February 10, 2025 16:59 GMT +05:30 – More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)
AIRSEE Baby Nail Trimmer Electric Nail Drill Safe File,Baby Nail Clippers with Light & 6 Grinding Pads Polishing Shape Tools for Newborn Toddler or Adults Toes and Fingernails, Kids Nail Care (Blue)
₹299.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Mother Sparsh Milky Soft Head to Toe Baby Wash & Baby Shampoo-400ml with Milk Protein & Shea Butter | Ph balanced & Paraben free 2 in 1 Moisturizing Natural Baby Body Wash & Shampoo
₹253.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)R for Rabbit XL Size Premium Feather Diaper for Baby 12 to 17 kgs (46 Pack Offer)
₹554.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Style Keepers 4 Pcs Baby Flower Headbands Nylon Head Bands Soft Elastics Stretchy Cute Warm Hairbands Hair Bow Accessories for Girls Newborn Infant Toddler Kids Baby Essential Products Handmade 4 Set
₹284.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Cherilo Round Mustard Seed Baby Comfort Cushion | Mustard & Fiber Filling | Soft Cotton Cover | 20 x 20 x 2 cm – Grey Leaf Pattern
₹239.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)TEDDYY Easy Baby L Size Diaper Pant Style | 62 Count (Large) | 9–14 kg (Pack of 1) | Long Protection Hours | Anti-Bacterial | Airy Breathable Fit | Rapid Soaker Channels & Wetness Indicator
₹426.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Firstnapy Baby Head Protector Helmet for Crawling Walking, Inflatable Safety Headguard with Soft Cushion, Bunny Pattern | (HLMT-Green) |
₹159.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Kidbea Steel Baby Feeding Bottle- 250Ml | Anti-Colic Wide Neck Milk Bottle with Silicon Nipple Newborn & Infants Kids, BPA Free
₹299.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Cetaphil Baby Daily Lotion, Suitable for baby’s delicate skin, Shea Butter and Vit E, Dermatologist Tested and Pediatrician Recommended, 400 ml
₹845.00 (as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)NINTARABABY Baby Blankets, Breathable & Cooling, Feather-Soft for Newborns & Infants, Baby Gift for Girls & Boys, 30 x 40 Inches
Now retrieving the price.
(as of April 4, 2026 13:13 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)




