Protect The .htaccess File - Works For Websites On Any Apache Server | WP Learning Lab - Best Webhosting

Thanks! Share it with your friends!

URL

You disliked this video. Thanks for the feedback!

Sorry, only registred users can create playlists.

ULTRAFAST, CHEAP, SCALABLE AND RELIABLE! WE STRONGLY RECOMMEND ACCU WEB HOSTING COMPANY

Protect The .htaccess File - Works For Websites On Any Apache Server | WP Learning Lab

Watch Wordpress WPLearningLab Video: Protect The .htaccess File - Works For Websites On Any Apache Server | WP Learning Lab.
Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL
Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist
Protect The .htaccess File - Works For Website On An Apache Server | WP Learning Lab

(left pointy bracket)Files ~"^.*\.([Hh][Tt][Aa])"(right pointy bracket)
order allow,deny
deny from all
satisfy all
(left pointy bracket)/Files(right pointy bracket)

YouTube doesn't allow the pointy brackets (Shift period and Shift comma) so make sure they match what you see in the video.

In this tutorial I'm going to show you how to protect your .htaccess file from unauthorized access. The .htaccess file is used to do a lot of things on your website including securing it. However, if you don't protect this file as well, then your website is still vulnerable.

This works on a website on any Apache server, not just WordPress sites.

Let's put that code into your .htaccess file and secure WordPress.

First login into your hosting account cPanel. Then find and click on the File Manager icon and choose the Document Root for the website that you are hardening. This will open the root of the website in another tab.

You can also log into the website root using FTP if you are more comfortable with that.

If you do not see a .htaccess in the website right then you can make one by clicking Add New File in the File Manager or right-clicking and choosing Create New File via File Transfer Protocol (FTP).

Open the .htaccess file and paste the code from above into it. There is no need to make adjustments to the code. Once pasted in just save the file and you're done.

Now you've done your better WordPress security for the day. Time to take a break! Or better yet, watch the next video.

Subscribe to this awesome channel here: http://www.youtube.com/subscription_center?add_user=wplearninglab

Published:
Category: Wordpress WPLearningLab
80 Views

Related Videos

  • Popular How To Block and Blacklist Bad IPs via .htaccess - Works On Any Apache Server | WP Learning Lab

    How To Block and Blacklist Bad IPs via .htaccess - Works On Any Apache Server | WP Learning Lab

    by Best Webhosting Added 102 Views / 0 Likes

    Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist How To Block and Blacklist Bad IPs via .htaccess - Works On Any Apache Server | WP Learning Lab # BEGIN Blacklist Undesired IPs (User and Bots) (left pointy bracket)Limit GET POST PUT(right pointy bracket) order allow,deny allow from all deny from 123.456.789.111 (lef

  • How To Backup Your .htaccess File Via File Manager On Your Apache Server | WP Learning Lab

    How To Backup Your .htaccess File Via File Manager On Your Apache Server | WP Learning Lab

    by Best Webhosting Added 96 Views / 0 Likes

    Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist How To Backup Your .htaccess File Via File Manager On Your Apache Server | WP Learning Lab In this tutorial I'm going to show you how to backup the .htaccess file using the file manager. The .htaccess file is a very important file. If even one character of code is out

  • Popular Protect Your WordPress WP-Config.php Via .htaccess - Hacker Proofing Your Site | WP Learning Lab

    Protect Your WordPress WP-Config.php Via .htaccess - Hacker Proofing Your Site | WP Learning Lab

    by Best Webhosting Added 101 Views / 0 Likes

    Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist Protect Your WordPress WP-Config.php Via .htaccess - Hacker Proofing Your Site | WP Learning Lab # BEGIN Protect the wp-config.php file (left pointy bracket)files wp-config.php(right pointy bracket) order allow,deny deny from all (left pointy bracket)/files(right poin

  • Popular 301 Redirect With htaccess File

    301 Redirect With htaccess File

    by Best Webhosting Added 102 Views / 0 Likes

    Simple tutorial on redirecting a page using the .htaccess file

  • Popular PrestaShop 1.6.x. How To Regenerate .htaccess File

    PrestaShop 1.6.x. How To Regenerate .htaccess File

    by Best Webhosting Added 105 Views / 0 Likes

    The following tutorial will show you how to regenerate .htaccess file in your PrestaShop 1.6.x store. Build your website with templates from TemplateMonster.com: http://www.templatemonster.com/prestashop-themes.php?utm_source=youtube&utm_medium=link&utm_campaign=prshoptuts152 More PrestaShop Video Tutorials: https://www.youtube.com/playlist?list=PLhQIfRNfwAocQcTfOyM0j3LfsskZ3Ip7E Subscribe Our Channel: https://www.youtube.com/user/TemplateMonsterCo/ F

  • WordPress htaccess File - 5 Primary Uses

    WordPress htaccess File - 5 Primary Uses

    by Best Webhosting Added 96 Views / 0 Likes

    Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Check out the free WP & Online Marketing Summit For Beginners. The online event is June 18, 2019: https://events.wplearninglab.com/ WordPress htaccess File - 5 Primary Uses https://youtu.be/yzOPKF9Tmq8 //* 301 Redirect with plugin: https://www.youtube.com/watch?v=rrFeQod-O2Q&list=PLlgSvQqMfii77WdUkg680kIiFCcKKrI-H 301 Redirect without plugin: https://www.youtube.com/watch?v

  • How to Locate Your .htaccess File - HostGator cPanel

    How to Locate Your .htaccess File - HostGator cPanel

    by Best Webhosting Added 70 Views / 0 Likes

    The .htaccess file is one of the most important files in your website, yet you may have never seen it before. That is because it is something known as a hidden file. This video will teach you how to locate the .htaccess file for your website, how to edit your .htaccess file, as well as how to create one if you need to. In this video you will learn: How to locate and unhide your .htaccess file How to create a .htaccess file How to access your .htaccess

  • Popular WordPress XML Export/Import File - How Does This File Work? | WP Learning Lab

    WordPress XML Export/Import File - How Does This File Work? | WP Learning Lab

    by Best Webhosting Added 101 Views / 0 Likes

    Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist WordPress XML Export/Import File - How Does This File Work? | WP Learning Lab In this tutorial we open the WordPress export/import XML file so that you can see what is in the file and how you can make changes to it as needed. XML is designed to be human and computer r

  • Ubuntu Server 14.04 Setup Part 4 - Samba File Server

    Ubuntu Server 14.04 Setup Part 4 - Samba File Server

    by Best Webhosting Added 97 Views / 0 Likes

    Share your Ubuntu Server folders and files with your Windows clients using Samba

  • Popular WordPress Password Protect Page or Post | WP Learning Lab

    WordPress Password Protect Page or Post | WP Learning Lab

    by Best Webhosting Added 117 Views / 0 Likes

    Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist WordPress Password Protect Page or Post | WP Learning Lab In this tutorial you will learn how to password protect WordPress pages using the password protection built right into WordPress. This technique is only effective for protecting a few pages on your website, it

  • 301 Redirect Using .HTAccess - Redirect A Website Page | WP Learning Lab

    301 Redirect Using .HTAccess - Redirect A Website Page | WP Learning Lab

    by Best Webhosting Added 96 Views / 0 Likes

    Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist 301 Redirect Using .HTAccess - Redirect A Website Page | WP Learning Lab Redirect 301 /old-page/ http://domainname.com/new-page/ Sometimes you have to 301 redirect a website, an individual website page or multiple website pages. In this tutorial I'm going to show you

  • ExpressVPN Review:  Does Trusted Server Works?

    ExpressVPN Review: Does Trusted Server Works?

    by Best Webhosting Added 23 Views / 0 Likes

    👉👉GET 49% DISCOUNT & 3 MONTHS FREE at EXPRESSVPN: http://bit.ly/ExpressVPN_trexvrm1 📺 ExpressVPN Review: 9 Reasons You Might Hate it 📌 https://youtu.be/Lz2guTeSQzI 📺 Also check out Best VPN for Netflix 2021: https://youtu.be/nprIcfuNyMk 00:00 Introduction 00:59 New Exciting Updates 01:41 A Revamped UI 02:41 Split Tunneling 03:46 Leak Protection 04:12 Trusted Server 06:00 Summary Try out ExpressVPN now and get 49% Discount: http://bit.ly/ExpressVPN_tre

RECOMMENDED WEB HOSTING

FASTCOMET

Fastcomet

HOSTGATOR

HOSTGATOR

BLUEHOST

BLUEHOST

SITEGROUND

SITEGROUND

A2 HOSTING

A2 HOSTING

HOSTINGER

HOSTINGER

DREAMHOST

DREAMHOST

ACCU WEBHOSTING

ACCU WEBHOSTING

MILESWEB

MILESWEB

HOSTPAPA

HOSTPAPA


RSS