1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
<?php set_time_limit(0); /** * Transfer Files Server to Server using PHP Copy * @link https://shellcreeper.com/?p=1249 */ /* Source File URL */ $re... |
You can do this by adding the following code in your .htaccess file:
1 2 3 4 5 |
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L] </IfModule> |
Don’t forget to replace yoursite.com with your site URL.
If you are on nginx servers (most users are not), you would add the following to redirect from HTTP to HTTPS:
1 2 3 4 5 |
server { l... |
15 Easy Ways To Speed Up WordPress
WordPress is a great platform. One weakness that it suffers from, however, is it can be quite slow.
Without taking the right precautions, you could end up with a sluggish site.
That’s not only a hassle for repeat visitors but will cause you to lose subscribers and customers.
In this quick post, I’ll cover all of the best ways that I’ve found to consistently speed up WordPress.
Why Site Speed Is Important
When a person lands on your site for the first time, you only have a few seconds to capture their attention to convince them to hang around.
Get ready to lose sleep at night: according to a report by the Microsoft Bing search team, a 2-second longer delay in page responsiveness reduced user satisfaction by 3.8%, increased lost revenue per user by 4...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
// Include and instantiate the class. require_once 'Mobile_Detect.php'; $detect = new Mobile_Detect; // Any mobile device (phones or tablets). if ( $detect->isMobile() ) { } // Any tablet device. if( $detect->isTablet() ){ |
File 1