#htaccess #advanced #rules #php #server
Watch the directives you need to know tutorial: • .htaccess Tutorial - Directives You N...
In my previous .htaccess tutorial, we went over basic .htaccess commands like how to remove extensions and do redirects. This time, we take what we know about .htaccess and add advanced rules.
In this tutorial, we will go over more redirect types, how to block bots and bad user agents, how to prevent URL sniffing, and how to optimize your images, code, and website through a .htaccess file.
If you are a PHP developer, these are advanced .htaccess directives you need to know.
00:00 Intro
02:30 Set the Server TimeZone (TZ)
03:55 Server Signature
05:00 Error Pages
09:22 Redirects Again
13:50 WWW-NonWWW or NonWWW-WWW
17:39 Blacklisting IPs and Domains
24:20 Blocking
38:00 Default Directory Page in SubFolders
41:28 Block Specific Files
44:49 Force Downloads
46:50 Prevent Hotlinking
56:28 Speed: Expires by Type
1:03:25 Speed: Cache-Control
1:06:26 Speed: GZip
1:12:20 Speed: Vary: Accept-Encoding
View the source code: https://github.com/thedevdrawer/advan...
⭐ If you would like to buy me a coffee because I created something that helped you, it would be much appreciated! : https://www.buymeacoffee.com/devdrawer
⭐ Join this channel to get access to perks:
/ @devdrawer
⭐ Become a Patreon to show support and get exclusive access to content: / devdrawer
`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
Subscribe: https://bit.ly/2Wbsnj9
`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
Join us on our blog for video recaps and other tutorials: https://thedevdrawer.com
Become a fan on Twitter: / thedevdrawer
View Project on GitHub: https://github.com/thedevdrawer
Watch video How To Use .htaccess Files - Advanced Tips and Tricks - #86 online without registration, duration hours minute second in high quality. This video was added by user Dev Drawer 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,45 once and liked it 16 people.