Redirecting a Web Folder Directory to another Directory in htaccess

Redirecting Domain Htaccess

Redirecting within the same domainUsing htaccess in your root level of your web server, how you redirect one page to another is:RewriteRule ^url-string-to-redirect$ http://www.yourdomain.com/your-new-url-string [R=301,L]

Redirect all pages to non-www and HTTPS in WordPress

Redirect Www Non Www Https

To redirect all URLs from www to non-www and also to redirect from http to https, this code snippet to be added to .htaccess file at the top should do the trick. So https://example.com # BEGIN Redirects RewriteEngine On #…

Add Lets Encrypt SSL Certs on ServerPilot Free Plan

serverpilot-lets-encrypt-ssl

ServerPilots’ free plan does not offer SSL certs from Lets Encrypt, it is only available on the paid plans,  here is a guide below that can allow you to install and renew the SSL certs with a custom script. You…

Set Up Let’s Encrypt SSL on cPanel WHM Server

ssl-lets-encrypt-cpanel-whm

The free SSL service Let’s Encrypt is now available to use on a cPanel/WHM service for versions above 58.0.17, this was announced recently on the feature requests component of the cPanel website. Checking your cPanel/WHM Version   Check if your version…

Change your WordPress site to serve pages over HTTPS/SSL

add ssl to wordpress

This is a tutorial to change your WordPress site to serve all content via HTTPS/SSL and it is something that is becoming easier and more affordable but also necessary for site owners. Swapping your site to the secure HTTPS/SSL protocol across the whole website…