- [Voiceover] Let's take a quick look at what you need to follow this course. The basic requirements are quite simple. I expect you to be familiar with PHP. The course doesn't involve writing much PHP code, but all the files in the example site use PHP. You'll need a PHP testing environment to run the example site. I'm using PHP 7, but the files will run on PHP 5.4 or later. Both your testing environments and remote server must be running the Apache web server with mod_rewrite enabled.
Chapter one shows how to check as well as how to enable mod_rewrite if necessary. The techniques taught in this course won't work on nginx or other web servers. It must be Apache. You'll also need a MySQL or MariaDB database to run the example site in the exercise files. Chapter one explains how to set up the database. Apache mod_rewrite uses regular expressions. So some knowledge of regular expressions will be useful. You don't need to be an expert because you can achieve a lot with some very basic regular expressions.
Chapter two covers everything you need to know about regular expressions to follow this course. The next video explains how the exercise files are organized. They're different from most other courses. So please make sure to watch.
Rather than checking URLs individually, David shows how to evaluate and update them sitewide with the Apache mod_rewrite module. Watch these tutorials to learn how to enable mod_rewrite on your server, understand the structure of mod_rewrite rules, remove unnecessary file extensions, convert query strings into readable numbers and text, and use rewrite maps to look up complex values without regular expressions. Plus, learn how to enhance search results and provide searchers with links to specific parts of a webpage.
- Checking your Apache setup
- Creating simple regular expressions
- Removing .php from URLs
- Replacing query strings
- Displaying clean URLs in search results
- Linking to parts of a webpage
- Creating a clean URL for any PHP file