RewriteCond %{REQUEST_URI} foobar
RewriteRule .* index.php
More Related Contents:
- .htaccess mod_rewrite – how to exclude directory from rewrite rule
- .htaccess redirect all pages to new domain
- convert original URL to friendly URL
- Password protect a specific URL
- htaccess Access-Control-Allow-Origin
- How to write htaccess rewrite rule for seo friendly url
- What exactly does the Multiviews options in .htaccess?
- htaccess rewrite breaks relative paths
- How to remove .htaccess password protection from a subdirectory
- How to get MAMP to read .htaccess files
- Add Trailing Slash .htaccess
- .htaccess Remove WWW from URL + Directories
- htaccess subdomain
- Allow/deny image hotlinking with .htaccess
- .htaccess to restrict access to folder
- .htaccess redirect all pages to the homepage on a new domain
- .htaccess redirect – automatically add www. if no subdomain exists
- Ban IPs from text file using htaccess [closed]
- .htaccess URL redirect
- .htaccess redirect without changing address bar
- How do I write a .htaccess file to make CodeIgniters URL routing work?
- Rewrite URL with .htaccess for multiple parameters
- 301 redirect .htaccess
- htaccess code to remove extension AND add+force trailing slash?
- .htaccess redirect
- Preserve HTTP/HTTPS protocol in .htaccess redirects
- Make web root folder a sub-folder with .htaccess?
- .htaccess rewrite URL with a question mark “?”
- Redirect all http AND https non-www URLS to https://www.xyz.com via htaccess
- Force a file or image to download using .htaccess