- [Narrator] In this video, we use the htaccess file…to prevent a common type of spam known…as No Referrer spam.…No Referrer spam happens when spammers…target the WordPress comment script directly…without actually visiting your website like a human being.…Preventing this type of spam helps…to save bandwidth and other server resources…and also keeps your site looking clean and professional.…Here we see the files and directories…that are included in a default installation of WordPress.…To protect against No Referrer spam,…first open the htaccess-code snippet…from the exercise files, copy the code…and then open the htaccess file located…in the root directory of your WordPress installation.…
If an htaccess file doesn't exist,…you can add the one that's included…in the exercise files for this tutorial.…Once you have the htaccess file in place…go ahead and paste the snippet anywhere…near the top of the file before…any WordPress related code.…The only thing we need to edit…is this line right here.…We want to change the example.com…
Author
Updated
8/30/2019Released
9/16/2016- Backing up and restoring your site
- Setting up strong passwords
- Understanding users and roles
- Choosing trusted plugins and themes
- Changing and recovering passwords
- Configuring authentication keys
- Securing the login page
- Fighting spam in the comments
- Blocking access and detecting hacks
- Building a firewall for WordPress
- Detecting and blocking bots
- Auditing your WordPress security
Skill Level Intermediate
Duration
Views
Related Courses
-
Introduction
-
Welcome1m 3s
-
Using the exercise files2m 14s
-
-
1. Getting Started
-
Back up your site4m 6s
-
Restore your site5m 36s
-
Keep your site up to date4m 37s
-
-
2. Security Essentials
-
Implement strong passwords4m 34s
-
Understand users and roles3m 29s
-
Change and recover passwords3m 30s
-
Disable user registration2m 41s
-
-
3. Hardening WordPress
-
Prevent directory listings3m 59s
-
Remove version numbers3m 47s
-
Disable error display3m 7s
-
4. Improving Security with Plugins
-
Fight comment spam3m 22s
-
Secure your login page4m 34s
-
Stop user enumeration4m 50s
-
Monitor admin users4m 19s
-
Implement a firewall3m 6s
-
Block access6m 5s
-
Monitoring file changes4m 16s
-
-
5. Advanced Tips and Tricks
-
Stop file hotlinking4m 18s
-
Stop automated spam2m 32s
-
Detect and block bad bots4m 42s
-
Control proxy access4m 21s
-
Control admin access4m 59s
-
-
6. Applying Best Practices
-
Choose a good host6m 16s
-
Further security techniques6m 44s
-
Conclusion
-
Next steps2m 9s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Stop automated spam