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.)
SoftlySpoken Adjustable Baby Support Cushion with Dual Side Bolsters | Natural Filled Comfort Pillow for Supervised Rest & Lounging |Breathable Fabric | Nursery Essential
₹289.00 (as of May 2, 2026 17:04 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.)Amazon Brand - Supples Premium Baby Diaper Pants | 54 Baby Diapers | XL | 12-17 Kg | 12 Hrs Absorption | Cushiony Cotton Soft Fabric | Phthalates-Free | Triple Leak Guard
₹489.00 (as of May 2, 2026 17:04 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.)Amazon Brand - Supples Premium Baby Diaper Pants | 72 Baby Diapers | Medium | 7-12 Kg | 12 Hrs Absorption | Cushiony Cotton Soft Fabric | Phthalates-Free | Triple Leak Guard
₹509.00 (as of May 2, 2026 17:04 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
₹389.00 (as of May 2, 2026 17:04 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.)Birch & Co. Baby Feeding Bowl and Spoon Set, Stainless Steel Food Bowls - 320ml, 304 Stainless Steel Baby Food Container with Double Wall Vacuum Insulation, BPA-Free Leak-Proof for School & Travel,Yellow
₹999.00 (as of May 2, 2026 17:04 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.)Philips Avent Natural Response Baby Feeding Bottle - 125Ml Baby Milk Bottle for Newborns and Up, Bpa Free, 0+ Months (Model SCY900/01)
₹435.00 (as of May 2, 2026 17:04 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.)Tidy Sleep Printed Baby Dry Sheet Waterproof Mattress Protector for Newborns | Soft Quick-Dry Bed Protector Mat | Reusable Leakproof Pee Pad, Crib & Travel Dry Sheet | Little Bear Goodnight (Medium)
₹239.00 (as of May 2, 2026 17:04 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
₹239.00 (as of May 2, 2026 17:04 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.)LuvLap Joy Anti Spill Sipper for Kids with Twin Easy-Grip Handles, 270 ml, Sippy Cups with Soft Silicone Straw, Training Cup for Kids,Water Bottle, Non-Toxic & BPA Free, 1 Year+ (Yellow)
Now retrieving the price.
(as of May 2, 2026 17:04 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.)




