PHPTRAVELS
Main SiteDemoPricing
  • 👋Welcome
    • Unsubscribe Email Newsletter
  • Startup
    • ↘️Download Product
    • ⚙️Installation
    • ⚒️Setup
      • 🛠️Settings
        • Email Settings
          • SMTP Settings
          • SMTP2Go API
        • Currencies
      • 💰Markups
      • 🔗Powered by Linkback
    • 🛡️SSL Force
  • 📪Modules
    • 🛏️Hotels
      • Stuba
      • Hotelbeds
      • Agoda
    • ✈️Flights
      • Amadeus Self Service
      • Amadeus Entreprise
      • Duffel
      • Kiwi
      • Pkfare
    • 💼Tours
      • Viator
  • 💳Payment Gateways
    • PayPal
    • Stripe
  • SUPPORT
    • 🎨For Designers
    • 🖥️For Developers
      • 🔗API Version 9
    • 📖Submit Ticket
    • 🔑License
Powered by GitBook
On this page

Was this helpful?

  1. Startup

SSL Force

Force website to https

Make sure you have deployed the product before perfuming this solution

Edit the file on your root public folder .htaccess and replace the below code.

This will force your website to load over https only

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
PreviousPowered by LinkbackNextModules

Last updated 1 year ago

Was this helpful?

🛡️