Web Haunt

Web Development Tutorials & Web Developer Resources

Skip to content
Menu
  • Home
  • PHP
    • Installation and Configuration
  • Live Demos

Tag: Windows

Redirect all HTTP requests to HTTPS automatically using .htaccess and web.config

Posted onAugust 17, 2016January 3, 2021by WebHaunt Team
Redirect HTTP to HTTPS automatically with Linux-based and Windows. Using the following code in your .htaccess (Linux & cPanel) and web.config (Windows) file automatically redirects visitors to the HTTPS version of your site. Linux & cPanel: Linux-based accounts use .htaccess files to handle redirection. RewriteEngine On RewriteC [...]
Read More

Latest Posts

  • Create Pagination Using PHP and MySQL
  • To-Do List Application Using PHP, MySQL and AJAX
  • NodeJS Login and Registration Rest API with MongoDB
  • Build a Contact Form in CodeIgniter with Email
  • Compress Image Before Upload using PHP
Copyright © 2016 - 2025 WEBHAUNT.COM All rights reserved.