How to get current page full URL in PHP

Post Views: 14 Step 1: Deciding on the SSL protocol whether the site using http or https. if(isset($_SERVER[’HTTPS’]) && $_SERVER[’HTTPS’] === ‘on’) { $url = ‘https’; } else { $url = ‘http’; }...

Enforcing https on all WordPress pages

Post Views: 13 Step 1 Go to your file manager or access your files via any FTP client. Step 2 Open your .htaccess file in edit mode (Where you can update the file and save.) Step 3 Include the following two lines below RewriteEngine On as shown. RewriteCond...