Welcome To Snipplr


Everyone's Recent Apache Snippets Tagged html



« Prev 1 Next »
Removing extensions and trailing slashes in web urls: "If you want to remove the .html extension from a html file for example yoursite.com/wallpaper.html to yoursite.com/wallpaper you simply have to alter the last line from the code above to match...
0 148 posted 4 years ago by jefferis
This rewrite will not work on WordPress. It forces .htm and .html files that no longer exist to go to the new .php versions of the pages.
0 171 posted 4 years ago by jefferis
The problem As a WordPress user, you probably know how important the wp-config.php file is. This file contains all of the information required to access your precious database: username, password, server name and so on. Protecting the wp-config.php...
0 58 posted 10 years ago by josephknight
The problem Protecting dynamic websites is especially important. Most developers always protect their GET and POST requests, but sometimes this is not enough. We should also protect our blog against script injections and any attempt to modify the PH...
3 91 posted 10 years ago by josephknight
7 86 posted 12 years ago by iTony
Add this to your .htaccess file in Apache:
7 112 posted 12 years ago by Abe
« Prev 1 Next »